all repos — nixfiles @ 013d5edee83289778828c39a1efd43b19843bde6

System and user configuration, managed by nix and home-manager

Emacs: workaround mumamo buffer-local-vars warnings
Alan Pearce alan@alanpearce.co.uk
Mon, 29 Apr 2013 13:30:03 +0100
commit

013d5edee83289778828c39a1efd43b19843bde6

parent

492a97cbdd163f26678c85fd693835a27e0a0b4f

1 files changed, 7 insertions(+), 0 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -989,6 +989,13 @@ 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