Created
October 25, 2012 07:28
-
-
Save tkf/3951163 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Workaround the annoying warnings: | |
;; Warning (mumamo-per-buffer-local-vars): | |
;; Already 'permanent-local t: buffer-file-name | |
(when (and (equal emacs-major-version 24) | |
(equal emacs-minor-version 2)) | |
(eval-after-load "mumamo" | |
'(setq mumamo-per-buffer-local-vars | |
(delq 'buffer-file-name mumamo-per-buffer-local-vars)))) |
This should be included in the "Tips" section of the EIN documentation, or perhaps be included in the appropriate mode file in EIN.
Thanks a lot! this was really annoying before...
Thanks!
You probably meant (and (>= emacs-major-version 24) (>= emacs-minor-version 2)) , thanks for the workaround!
Thanks man, you saved my ass.
I think you meant: (string< "24.1" (format "%d.%d" emacs-major-version emacs-minor-version))
cool, thanks, and also thanks deathwish.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is exactly what I was looking for to get rid of these warnings. They seem to happen every time the point would leave or enter a python-mode cell.