Ditto here. On 2023-09-16 14:31:11 +0200, mister...@web.de wrote: > In toplevel form: > mmm-auto.el:178:4: Error: Wrong number of arguments: (3 . 4), 2
This seems to be due to this change: -(defalias 'mmm-add-find-file-hooks #'mmm-add-find-file-hook) +(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)) If I understand correctly, the second define-obsolete-function-alias (with 2 arguments) is executed instead of the first one (with 4 arguments). This would mean that (string-match "XEmacs" (emacs-version)) finds a match. Is there any reason? -- 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)