Created
March 11, 2018 03:34
-
-
Save Hasimir/b6d3e7a99080731ed79bc7cc1ea305d5 to your computer and use it in GitHub Desktop.
Diff of fixes needed to prevent post.el triggering old style backquotes error
This file contains 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
The post-mode for Mutt/Neomutt and Emacs is old and mostly reliable, still available here: | |
https://sourceforge.net/projects/post-mode/ | |
In January, 2018 a change was made to the master branch of GNU Emacs which detects old style elisp as incorrect and breaks initialisation which contains it. Since post-mode hasn't been modified in nearly a decade, there are some lines using this older style. | |
The following is the diff necessary to fix the version of post-mode from 24/2/2008 (ver. 1.9 or 1.10): | |
305c305 | |
< (defmacro string-read (prompt) (` (read-string (, prompt)))) | |
--- | |
> (defmacro string-read (prompt) `(read-string (, prompt))) | |
307c307 | |
< (` (read-string (, prompt) nil nil nil t)))) | |
--- | |
> `(read-string (, prompt) nil nil nil t))) | |
330c330 | |
< (` (defvar (, symbol) (, init) (, docstring)))) | |
--- | |
> `(defvar (, symbol) (, init) (, docstring))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment