From: Stefan Kangas Date: Thu, 11 Aug 2022 11:07:24 +0000 (+0200) Subject: Make emerge-define-key-if-possible obsolete X-Git-Tag: emacs-29.0.90~1447^2~243 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bce98395ce8ef44934ef07fabafe1fb9e40aa09d;p=emacs.git Make emerge-define-key-if-possible obsolete * lisp/vc/emerge.el (emerge-define-key-if-possible): Make unused function obsolete. --- diff --git a/lisp/vc/emerge.el b/lisp/vc/emerge.el index 422ed5c0a4d..6ee20bf59ba 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 redefined." ;; 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)