Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Hasimir
Created March 11, 2018 03:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hasimir/b6d3e7a99080731ed79bc7cc1ea305d5 to your computer and use it in GitHub Desktop.
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
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