Browse Source

Add commented malabar-mode setup

pull/15/head
10sr 8 years ago
parent
commit
394b4a1ec8
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      emacs.el

+ 10
- 0
emacs.el View File

@@ -197,6 +197,7 @@ IF OK-IF-ALREADY-EXISTS is true force download."
git-commit git-commit
gitignore-mode gitignore-mode
adoc-mode adoc-mode
malabar-mode
;; ack ;; ack
color-moccur color-moccur
ggtags ggtags
@@ -925,6 +926,7 @@ IF OK-IF-ALREADY-EXISTS is true force download."
t) t)
(autoload-eval-lazily 'sl)) (autoload-eval-lazily 'sl))


;; jdee is too old! use malabar instead
(with-eval-after-load 'jdee (with-eval-after-load 'jdee
(add-hook 'jdee-mode-hook (add-hook 'jdee-mode-hook
(lambda () (lambda ()
@@ -932,6 +934,14 @@ IF OK-IF-ALREADY-EXISTS is true force download."
(add-to-list 'global-mode-string (add-to-list 'global-mode-string
mode-line-position)))) mode-line-position))))


;; Cannot enable error thrown. Why???
;; https://github.com/m0smith/malabar-mode#Installation
;; (when (autoload-eval-lazily 'malabar-mode)
;; (add-to-list 'load-path
;; (expand-file-name (concat user-emacs-directory "/cedet")))
;; (safe-require-or-eval 'cedet-devel-load)
;; (call-after-init 'activate-malabar-mode))

(with-eval-after-load 'make-mode (with-eval-after-load 'make-mode
(defvar makefile-mode-map (make-sparse-keymap)) (defvar makefile-mode-map (make-sparse-keymap))
(define-key makefile-mode-map (kbd "C-m") 'newline-and-indent) (define-key makefile-mode-map (kbd "C-m") 'newline-and-indent)


Loading…
Cancel
Save