1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
From: Przemyslaw Kryger <pkryger@gmail.com>
Date: Sat, 13 Mar 2021 15:35:18 +0000
Subject: Add when argument to define-obsolete-function-alias
The `when` has become mandatory since
https://emba.gnu.org/emacs/emacs/-/commit/32c6732d16385f242b1109517f25e9aefd6caa5c (credit
to @zflat).
Fortunately the emacs-24.3 (the lowest supported version according to package),
has already support for the `when` parameter.
I've used `v2.2` as this is the tag that follows commit that added the obsolete
call (dbf1ca3b2518d43f8c1b897d71126cfd132ef30b).
Forwarded: not-needed
---
src/rtags.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/rtags.el b/src/rtags.el
index c30ba86..cacc4d7 100644
--- a/src/rtags.el
+++ b/src/rtags.el
@@ -4689,7 +4689,7 @@ definition."
(and rtags-autostart-diagnostics (rtags-diagnostics))
(set-process-query-on-exit-flag rtags-rdm-process nil)
(set-process-sentinel rtags-rdm-process 'rtags-sentinel)))))
-(define-obsolete-function-alias 'rtags-start-process-maybe 'rtags-start-process-unless-running)
+(define-obsolete-function-alias 'rtags-start-process-maybe 'rtags-start-process-unless-running "v2.2")
(defun rtags-sentinel (process _event)
"Watch the activity of RTags process (rdm)."
|