aboutsummaryrefslogtreecommitdiffstats
path: root/rpm-spec-mode.el
diff options
context:
space:
mode:
authorBhavin Gandhi <bhavin7392@gmail.com>2022-08-08 20:25:38 +0530
committerJani Välimaa <wally@mageia.org>2022-09-13 20:46:12 +0300
commit5a5134b1a11a44ab3d67e7e871f8380e4b4a9e17 (patch)
treea5b33b8f005e36fd330b99ba212ec1485868444b /rpm-spec-mode.el
parent02add1bdf50b92ec36f4d2e73f52f38d04d25be8 (diff)
downloadrpm-setup-5a5134b1a11a44ab3d67e7e871f8380e4b4a9e17.tar
rpm-setup-5a5134b1a11a44ab3d67e7e871f8380e4b4a9e17.tar.gz
rpm-setup-5a5134b1a11a44ab3d67e7e871f8380e4b4a9e17.tar.bz2
rpm-setup-5a5134b1a11a44ab3d67e7e871f8380e4b4a9e17.tar.xz
rpm-setup-5a5134b1a11a44ab3d67e7e871f8380e4b4a9e17.zip
Fix compatibility with Emacs 28.1
Functions without WHEN were deprecated in 23.1 https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS.28#n3063 I wasn't able to find any history of rpm-spec-mode prior 0.12, so setting the WHEN to 0.12. Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
Diffstat (limited to 'rpm-spec-mode.el')
-rw-r--r--rpm-spec-mode.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/rpm-spec-mode.el b/rpm-spec-mode.el
index ac9d797..bee87ab 100644
--- a/rpm-spec-mode.el
+++ b/rpm-spec-mode.el
@@ -112,7 +112,7 @@ Set the macros _target, _target_arch and _target_os accordingly"
:group 'rpm-spec)
(define-obsolete-variable-alias
- 'rpm-completion-ignore-case 'rpm-spec-completion-ignore-case)
+ 'rpm-completion-ignore-case 'rpm-spec-completion-ignore-case "0.12")
(defcustom rpm-spec-completion-ignore-case t
"*Non-nil means that case differences are ignored during completion.
@@ -132,7 +132,7 @@ This is used during Tempo template completion."
:group 'rpm-spec)
(define-obsolete-variable-alias
- 'rpm-spec-test 'rpm-spec-nobuild)
+ 'rpm-spec-test 'rpm-spec-nobuild "0.12")
(defcustom rpm-spec-nobuild nil
"Do not execute any build stages. Useful for testing out spec files."
@@ -158,7 +158,7 @@ the package."
:group 'rpm-spec)
(define-obsolete-variable-alias
- 'rpm-initialize-sections 'rpm-spec-initialize-sections)
+ 'rpm-initialize-sections 'rpm-spec-initialize-sections "0.12")
(defcustom rpm-spec-initialize-sections t
"Automatically add empty section headings to new spec files."
@@ -166,7 +166,7 @@ the package."
:group 'rpm-spec)
(define-obsolete-variable-alias
- 'rpm-insert-version 'rpm-spec-insert-changelog-version)
+ 'rpm-insert-version 'rpm-spec-insert-changelog-version "0.12")
(defcustom rpm-spec-insert-changelog-version t
"Automatically add version in a new change log entry."