+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
(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.
(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.
(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)
;;
;; 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
: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