fxbois / web-mode

web template editing mode for emacs
https://web-mode.org
GNU General Public License v3.0
1.64k stars 260 forks source link

use of save-mark-and-excursion requires more recent version of emacs than declared #1293

Closed wgmitchener closed 9 months ago

wgmitchener commented 9 months ago

Version 17.3.15 of web-mode.el uses a macro called save-mark-and-excursion. The file is marked with ;; Package-Requires: ((emacs "23.1")) However, that macro is not available in emacs 24.3.1, which I'm using on an old machine. The emacs package manager installs this new version of web-mode, but the package fails to work, giving an error about save-mark-and-excursion when you try to activate web-mode while visiting a file.

fxbois commented 9 months ago

I've restored the previous behavior