From 3e96f1ac60a3100fb09216c23a8f472d1313c82e Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Sat, 23 Sep 2017 12:56:54 +0200 Subject: [PATCH] Fix cperl problems --- emacs/.emacs | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/emacs/.emacs b/emacs/.emacs index 0097234..30ac509 100644 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -19,6 +19,9 @@ (height . 40) )) +;; Use cperl-mode instead of perl-mode +(defalias 'perl-mode 'cperl-mode) + (defun silence () (interactive)) @@ -49,7 +52,7 @@ '(menu-bar-mode nil) '(package-selected-packages (quote - (shell-pop swiper neotree centered-cursor-mode ivy avy heroku-theme auto-complete use-package yasnippet evil-surround org evil-magit magit makefile-runner evil))) + (terminal-here shell-pop swiper neotree centered-cursor-mode ivy avy heroku-theme auto-complete use-package yasnippet evil-surround org evil-magit magit makefile-runner evil))) '(scroll-bar-mode nil) '(shell-pop-shell-type (quote @@ -156,7 +159,14 @@ :demand t :config (progn (require 'auto-complete-config) - (ac-config-default))) + (setq ac-sources '(ac-source-filename + ac-source-functions + ac-source-yasnippet + ac-source-variables + ac-source-symbols + ac-source-features + ac-source-words-in-all-buffer + ac-source-dictionary)))) ;; ivy (use-package ivy