[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master bce98395ce: Make emerge-define-key-if-possible obsolete

From: Stefan Kangas
Subject: master bce98395ce: Make emerge-define-key-if-possible obsolete
Date: Thu, 11 Aug 2022 07:07:39 -0400 (EDT)

branch: master
commit bce98395ce8ef44934ef07fabafe1fb9e40aa09d
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Make emerge-define-key-if-possible obsolete
    * lisp/vc/emerge.el (emerge-define-key-if-possible): Make unused
    function obsolete.
 lisp/vc/emerge.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/vc/emerge.el b/lisp/vc/emerge.el
index 422ed5c0a4..6ee20bf59b 100644
--- a/lisp/vc/emerge.el
+++ b/lisp/vc/emerge.el
@@ -2942,6 +2942,7 @@ If some prefix of KEY has a non-prefix definition, it is 
 ;; Define a key if it (or a prefix) is not already defined in the map.
 (defun emerge-define-key-if-possible (keymap key definition)
+  (declare (obsolete keymap-set "29.1"))
   ;; look up the present definition of the key
   (let ((present (lookup-key keymap key)))
     (if (integerp present)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]