# HG changeset patch # User Stefan Monnier # Date 1251511662 0 # Node ID eee42a2205069f65b631f7af38eb0e91976f1f21 # Parent b99b3dda298bd7c6fc28a80a6ccbd3f464d15405 * 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. diff -r b99b3dda298b -r eee42a220506 lisp/ChangeLog --- 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 + + * 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 * files.el (magic-fallback-mode-alist): Add ZIP magic number diff -r b99b3dda298b -r eee42a220506 lisp/progmodes/cc-cmds.el --- 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) diff -r b99b3dda298b -r eee42a220506 lisp/progmodes/cc-engine.el --- 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 diff -r b99b3dda298b -r eee42a220506 lisp/progmodes/cc-vars.el --- 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