Mercurial > emacs
changeset 104693:eee42a220506
* 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.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sat, 29 Aug 2009 02:07:42 +0000 |
parents | b99b3dda298b |
children | dbb1369b5eaf |
files | lisp/ChangeLog lisp/progmodes/cc-cmds.el lisp/progmodes/cc-engine.el lisp/progmodes/cc-vars.el |
diffstat | 4 files changed, 14 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Sat Aug 29 00:27:12 2009 +0000 +++ b/lisp/ChangeLog Sat Aug 29 02:07:42 2009 +0000 @@ -1,3 +1,11 @@ +2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca> + + * 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. + 2009-08-28 Juri Linkov <juri@jurta.org> * files.el (magic-fallback-mode-alist): Add ZIP magic number
--- a/lisp/progmodes/cc-cmds.el Sat Aug 29 00:27:12 2009 +0000 +++ b/lisp/progmodes/cc-cmds.el Sat Aug 29 02:07:42 2009 +0000 @@ -322,7 +322,7 @@ (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 @@ (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 @@ (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)
--- a/lisp/progmodes/cc-engine.el Sat Aug 29 00:27:12 2009 +0000 +++ b/lisp/progmodes/cc-engine.el Sat Aug 29 02:07:42 2009 +0000 @@ -7103,7 +7103,7 @@ ;; ;; This function might do hidden buffer changes. (c-at-statement-start-p)) -(make-obsolete 'c-looking-at-bos 'c-at-statement-start-p) +(make-obsolete 'c-looking-at-bos 'c-at-statement-start-p "22.1") (defun c-looking-at-inexpr-block (lim containing-sexp &optional check-at-end) ;; Return non-nil if we're looking at the beginning of a block
--- a/lisp/progmodes/cc-vars.el Sat Aug 29 00:27:12 2009 +0000 +++ b/lisp/progmodes/cc-vars.el Sat Aug 29 02:07:42 2009 +0000 @@ -451,7 +451,7 @@ :group 'c) (make-obsolete-variable 'c-comment-continuation-stars - 'c-block-comment-prefix) + 'c-block-comment-prefix "21.1") ;; Although c-comment-continuation-stars is obsolete, we look at it in ;; some places in CC Mode anyway, so make the compiler ignore it