]> git.eshelyaron.com Git - emacs.git/commitdiff
Comment to postpone deletion of c-subword-mode
authorStefan Kangas <stefankangas@gmail.com>
Fri, 14 Aug 2020 14:47:57 +0000 (16:47 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Fri, 14 Aug 2020 15:03:13 +0000 (17:03 +0200)
* 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

index f9b069fd4e51cee9260e10814e598e37b0dd65d9..0f2c9431f6ee8f1e3fbdc76edde11c27e62d4342 100644 (file)
@@ -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