emacs-diffs
[Top][All Lists]
Advanced

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

master 76514dc: Comment to postpone deletion of c-subword-mode


From: Stefan Kangas
Subject: master 76514dc: Comment to postpone deletion of c-subword-mode
Date: Fri, 14 Aug 2020 11:04:14 -0400 (EDT)

branch: master
commit 76514dcb6d55e2734a6e3357039124c80f05261f
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    Comment to postpone deletion of c-subword-mode
    
    * lisp/progmodes/subword.el (c-subword-mode): Clarify that this
    obsolete function alias should not be removed just yet.  There is a
    copy of this definition in cc-cmds.el, obsolete since 24.3, and it is
    better to delete both at the same time.
---
 lisp/progmodes/subword.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/progmodes/subword.el b/lisp/progmodes/subword.el
index f9b069f..0f2c943 100644
--- a/lisp/progmodes/subword.el
+++ b/lisp/progmodes/subword.el
@@ -115,6 +115,8 @@ treat nomenclature boundaries as word boundaries."
     (when subword-mode (superword-mode -1))
     (subword-setup-buffer))
 
+;; This is defined also in cc-cmds.el, but as obsolete since 24.3.
+;; Let's keep this until the other one can also be removed.
 (define-obsolete-function-alias 'c-subword-mode 'subword-mode "23.2")
 
 ;;;###autoload



reply via email to

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