Control: forwarded -1 https://github.com/dgutov/mmm-mode/issues/137 Control: tags -1 upstream
On 2023-09-16 17:02:54 +0200, Vincent Lefevre wrote: > This appears to be related to macro expansion, which seems to > occur even if the code is not executed. An easy solution would be to avoid the XEmacs form (marked as obsolete in GNU Emacs since 23.1 and whose support was removed in GNU Emacs 28[*]), i.e. change (if (not (string-match "XEmacs" (emacs-version))) (define-obsolete-function-alias 'mmm-add-find-file-hooks 'mmm-add-find-file-hook "0.3.8" "Both `mmm-add-find-file-hooks' and `mmm-add-find-file-hook' are deprecated.") (define-obsolete-function-alias 'mmm-add-find-file-hooks 'mmm-add-find-file-hook)) to just (define-obsolete-function-alias 'mmm-add-find-file-hooks 'mmm-add-find-file-hook "0.3.8" "Both `mmm-add-find-file-hooks' and `mmm-add-find-file-hook' are deprecated.") [*] https://github.com/emacs-mirror/emacs/commit/32c6732 -- Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)