Control: tags -1 - upstream

The issue actually comes from the 01-xemacs patch.

On 2023-09-16 17:46:23 +0200, Vincent Lefevre wrote:
> 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.")

Alternatively, update to release 0.5.10, where upstream has just
removed these obsolete functions:

https://github.com/dgutov/mmm-mode/commit/244f8c4794f20a6be5ebe1e405400a9c35ea6d2f

so that mmm-auto.el no longer needs to be patched for xemacs.

-- 
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)

Reply via email to