Skip to content

Instantly share code, notes, and snippets.

@tkf
Created October 25, 2012 07:28
Show Gist options
  • Save tkf/3951163 to your computer and use it in GitHub Desktop.
Save tkf/3951163 to your computer and use it in GitHub Desktop.
;; 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))))
@ryanolf
Copy link

ryanolf commented Feb 14, 2013

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.

@ryanolf
Copy link

ryanolf commented Feb 14, 2013

This should be included in the "Tips" section of the EIN documentation, or perhaps be included in the appropriate mode file in EIN.

@wackou
Copy link

wackou commented Apr 2, 2013

Thanks a lot! this was really annoying before...

@EvanMisshula
Copy link

Thanks!

@deathwish
Copy link

You probably meant (and (>= emacs-major-version 24) (>= emacs-minor-version 2)) , thanks for the workaround!

@AmiZya
Copy link

AmiZya commented Apr 15, 2013

Thanks man, you saved my ass.

@tangxinfa
Copy link

I think you meant: (string< "24.1" (format "%d.%d" emacs-major-version emacs-minor-version))

@chaoswong1981
Copy link

cool, thanks, and also thanks deathwish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment