mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-29 11:02:01 +00: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:
parent
b0b63450dc
commit
efbc652a8f
@ -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
|
||||
|
@ -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)
|
||||
|
@ -7103,7 +7103,7 @@ comment at the start of cc-engine.el for more info."
|
||||
;;
|
||||
;; 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
|
||||
|
@ -451,7 +451,7 @@ comment-only lines."
|
||||
: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
|
||||
|
Loading…
Reference in New Issue
Block a user