Enable company mode and remove periods.

This commit is contained in:
Lars Tveito 2015-04-10 17:43:44 +02:00
parent d3e428d599
commit 9c49f6a9cd

View File

@ -352,19 +352,20 @@
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(dolist (mode (dolist (mode
'(abbrev-mode ; E.g. sopl -> System.out.println. '(abbrev-mode ; E.g. sopl -> System.out.println
column-number-mode ; Show column number in mode line. column-number-mode ; Show column number in mode line
delete-selection-mode ; Replace selected text. global-company-mode ; Auto-completion everywhere
delete-selection-mode ; Replace selected text
dirtrack-mode ; directory tracking in *shell* dirtrack-mode ; directory tracking in *shell*
recentf-mode ; Recently opened files. recentf-mode ; Recently opened files
show-paren-mode ; Highlight matching parentheses. show-paren-mode ; Highlight matching parentheses
projectile-global-mode ; Manage and navigate projects. projectile-global-mode ; Manage and navigate projects
global-undo-tree-mode)) ; Undo as a tree. global-undo-tree-mode)) ; Undo as a tree
(funcall mode 1)) (funcall mode 1))
(when (version< emacs-version "24.4") (when (version< emacs-version "24.4")
(eval-after-load 'auto-compile (eval-after-load 'auto-compile
'((auto-compile-on-save-mode 1)))) ; compile .el files on save. '((auto-compile-on-save-mode 1)))) ; compile .el files on save
#+END_SRC #+END_SRC