summaryrefslogtreecommitdiff
path: root/lisp/progmodes/subword.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2020-08-14 16:47:57 +0200
committerStefan Kangas <stefankangas@gmail.com>2020-08-14 17:03:13 +0200
commit76514dcb6d55e2734a6e3357039124c80f05261f (patch)
treedb887b66ec74c09f206faf0068ab902a6e3798bc /lisp/progmodes/subword.el
parent7a7847d7ad558afb8452ff346a0356c5fc837f6e (diff)
downloademacs-76514dcb6d55e2734a6e3357039124c80f05261f.tar.gz
emacs-76514dcb6d55e2734a6e3357039124c80f05261f.tar.bz2
emacs-76514dcb6d55e2734a6e3357039124c80f05261f.zip
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.
Diffstat (limited to 'lisp/progmodes/subword.el')
-rw-r--r--lisp/progmodes/subword.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/subword.el b/lisp/progmodes/subword.el
index f9b069fd4e5..0f2c9431f6e 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