In emacs 28, the when argument of the function define-obsolete-function-alias is no longer optional. When loading rtags, it fails with wrong-number-of-arguments (3 . 4), 2
To Reproduce
Steps to reproduce the behavior:
Use a development version of emacs (emacs 28)
Load the rtags library with "m-x load-library rtags"
See the error
Environment (please complete the following information):
If I modify the file rtags.el and change line 4694 so it reads:
(define-obsolete-function-alias 'rtags-start-process-maybe 'rtags-start-process-unless-running "xxx")
then things work correctly. I don't know what the correct value for "xxx" should be, but any string seems to get past the error.
Describe the bug
In emacs 28, the
when
argument of the functiondefine-obsolete-function-alias
is no longer optional. When loading rtags, it fails withwrong-number-of-arguments (3 . 4), 2
To Reproduce Steps to reproduce the behavior:
Environment (please complete the following information):
Additional context
If I modify the file
rtags.el
and change line 4694 so it reads:(define-obsolete-function-alias 'rtags-start-process-maybe 'rtags-start-process-unless-running "xxx")
then things work correctly. I don't know what the correct value for "xxx" should be, but any string seems to get past the error.