Skip to content

Instantly share code, notes, and snippets.

@tkf
Created October 25, 2012 07:28
Show Gist options
  • Select an option

  • Save tkf/3951163 to your computer and use it in GitHub Desktop.

Select an option

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

ryanolf commented Feb 14, 2013

Copy link
Copy Markdown

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

ryanolf commented Feb 14, 2013

Copy link
Copy Markdown

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

@wackou

wackou commented Apr 2, 2013

Copy link
Copy Markdown

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

@EvanMisshula

Copy link
Copy Markdown

Thanks!

@deathwish

Copy link
Copy Markdown

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

@AmiZya

AmiZya commented Apr 15, 2013

Copy link
Copy Markdown

Thanks man, you saved my ass.

@tangxinfa

Copy link
Copy Markdown

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

@chaoswong1981

Copy link
Copy Markdown

cool, thanks, and also thanks deathwish.

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