summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-04-29 13:30:03 +0100
committerAlan Pearce2013-04-29 13:30:03 +0100
commit013d5edee83289778828c39a1efd43b19843bde6 (patch)
tree340709b477261471945453f8b4d53c6439806b1e /emacs
parent492a97cbdd163f26678c85fd693835a27e0a0b4f (diff)
downloadnixfiles-013d5edee83289778828c39a1efd43b19843bde6.tar.lz
nixfiles-013d5edee83289778828c39a1efd43b19843bde6.tar.zst
nixfiles-013d5edee83289778828c39a1efd43b19843bde6.zip
Emacs: workaround mumamo buffer-local-vars warnings
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index b3553c32..577791d7 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -989,6 +989,13 @@ Works with: arglist-cont-nonempty, arglist-close."
                   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