From 0c6318bc3b0fdd2edd149b3dadf1d57a5964c086 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 2 Dec 2020 12:58:42 +0100 Subject: [PATCH] Make variable cperl-version obsolete * lisp/progmodes/cperl-mode.el (cperl-menu): Remove CPerl version menu entry. (cperl-version): Make obsolete. --- lisp/progmodes/cperl-mode.el | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 53f21530efb..20b23602589 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el @@ -1247,11 +1247,7 @@ versions of Emacs." ["Speed" (describe-variable 'cperl-speed) t] ["Praise" (describe-variable 'cperl-praise) t] ["Faces" (describe-variable 'cperl-tips-faces) t] - ["CPerl mode" (describe-function 'cperl-mode) t] - ["CPerl version" - (message "The version of master-file for this CPerl is %s-Emacs" - cperl-version) - t])))) + ["CPerl mode" (describe-function 'cperl-mode) t])))) (error nil)) (autoload 'c-macro-expand "cmacexp" @@ -8523,6 +8519,7 @@ do extra unwind via `cperl-unwind-to-safe'." (string-match ":\\s *\\([0-9.]+\\)" v) (substring v (match-beginning 1) (match-end 1))) "Version of IZ-supported CPerl package this file is based on.") +(make-obsolete-variable 'cperl-version 'emacs-version "28.1") (defvar cperl-do-not-fontify 'fontified "Text property which inhibits refontification.") -- 2.39.5