summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el11
1 files changed, 4 insertions, 7 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 6b4fda2..76a7ad7 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -1013,18 +1013,15 @@ Works with: arglist-cont-nonempty, arglist-close."
   :mode (("\\.php\\'" . html-mumamo-mode))
   :idle (load (expand-file-name "nxhtml/autostart" *el-get-dir*))
   :config (progn
+            (when (and (equal emacs-major-version 24)
+                       (> emacs-minor-version 1))
+              (setq mumamo-per-buffer-local-vars
+                    (delq 'buffer-file-name mumamo-per-buffer-local-vars)))
             (setq mumamo-chunk-coloring 4
                   nxhtml-skip-welcome t
                   nxhtml-autoload-web nil)
             (nxhtml-menu-mode 0)))
 
-(when (and (equal emacs-major-version 24)
-           (equal emacs-minor-version 2))
-  (use-package mumamo
-    :defer t
-    :config (progn (setq mumamo-per-buffer-local-vars
-                         (delq 'buffer-file-name mumamo-per-buffer-local-vars)))))
-
 (use-package php-mode
   :mode ("\\.php\\'" . php-mode)
   :config (progn