1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* progmodes/cc-vars.el (c-comment-continuation-stars):

* progmodes/cc-engine.el (c-looking-at-bos):
* progmodes/cc-cmds.el (c-toggle-auto-state)
(c-forward-into-nomenclature, c-backward-into-nomenclature)
(c-comment-line-break-function): Add version of obsolescence.
This commit is contained in:
Stefan Monnier 2009-08-29 02:07:42 +00:00
parent b0b63450dc
commit efbc652a8f
4 changed files with 14 additions and 6 deletions

View file

@ -322,7 +322,7 @@ after special characters such as brace, comma, semi-colon, and colon."
(c-keep-region-active))
(defalias 'c-toggle-auto-state 'c-toggle-auto-newline)
(make-obsolete 'c-toggle-auto-state 'c-toggle-auto-newline)
(make-obsolete 'c-toggle-auto-state 'c-toggle-auto-newline "22.1")
(defun c-toggle-hungry-state (&optional arg)
"Toggle hungry-delete-key feature.
@ -1330,14 +1330,14 @@ keyword on the line, the keyword is not inserted inside a literal, and
(interactive "p")
(require 'cc-subword)
(c-forward-subword arg))
(make-obsolete 'c-forward-into-nomenclature 'c-forward-subword)
(make-obsolete 'c-forward-into-nomenclature 'c-forward-subword "22.1")
(defun c-backward-into-nomenclature (&optional arg)
"Compatibility alias for `c-backward-subword'."
(interactive "p")
(require 'cc-subword)
(c-backward-subword arg))
(make-obsolete 'c-backward-into-nomenclature 'c-backward-subword)
(make-obsolete 'c-backward-into-nomenclature 'c-backward-subword "22.1")
(defun c-scope-operator ()
"Insert a double colon scope operator at point.
@ -4431,7 +4431,7 @@ If a fill prefix is specified, it overrides all the above."
(indent-to col))))))
(defalias 'c-comment-line-break-function 'c-indent-new-comment-line)
(make-obsolete 'c-comment-line-break-function 'c-indent-new-comment-line)
(make-obsolete 'c-comment-line-break-function 'c-indent-new-comment-line "21.1")
;; advice for indent-new-comment-line for older Emacsen
(unless (boundp 'comment-line-break-function)