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
Copy link
Copy Markdown

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
Copy Markdown

wackou commented Apr 2, 2013

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
Copy link
Copy Markdown

AmiZya commented Apr 15, 2013

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