diff options
| -rw-r--r-- | lisp/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/progmodes/cc-cmds.el | 8 | ||||
| -rw-r--r-- | lisp/progmodes/cc-engine.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/cc-vars.el | 2 |
4 files changed, 14 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0784ea8cc2b..50869b07c95 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * progmodes/cc-vars.el (c-comment-continuation-stars): | ||
| 4 | * progmodes/cc-engine.el (c-looking-at-bos): | ||
| 5 | * progmodes/cc-cmds.el (c-toggle-auto-state) | ||
| 6 | (c-forward-into-nomenclature, c-backward-into-nomenclature) | ||
| 7 | (c-comment-line-break-function): Add version of obsolescence. | ||
| 8 | |||
| 1 | 2009-08-28 Juri Linkov <juri@jurta.org> | 9 | 2009-08-28 Juri Linkov <juri@jurta.org> |
| 2 | 10 | ||
| 3 | * files.el (magic-fallback-mode-alist): Add ZIP magic number | 11 | * files.el (magic-fallback-mode-alist): Add ZIP magic number |
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el index cb88f344cc0..a34c3cfc84e 100644 --- a/lisp/progmodes/cc-cmds.el +++ b/lisp/progmodes/cc-cmds.el | |||
| @@ -322,7 +322,7 @@ after special characters such as brace, comma, semi-colon, and colon." | |||
| 322 | (c-keep-region-active)) | 322 | (c-keep-region-active)) |
| 323 | 323 | ||
| 324 | (defalias 'c-toggle-auto-state 'c-toggle-auto-newline) | 324 | (defalias 'c-toggle-auto-state 'c-toggle-auto-newline) |
| 325 | (make-obsolete 'c-toggle-auto-state 'c-toggle-auto-newline) | 325 | (make-obsolete 'c-toggle-auto-state 'c-toggle-auto-newline "22.1") |
| 326 | 326 | ||
| 327 | (defun c-toggle-hungry-state (&optional arg) | 327 | (defun c-toggle-hungry-state (&optional arg) |
| 328 | "Toggle hungry-delete-key feature. | 328 | "Toggle hungry-delete-key feature. |
| @@ -1330,14 +1330,14 @@ keyword on the line, the keyword is not inserted inside a literal, and | |||
| 1330 | (interactive "p") | 1330 | (interactive "p") |
| 1331 | (require 'cc-subword) | 1331 | (require 'cc-subword) |
| 1332 | (c-forward-subword arg)) | 1332 | (c-forward-subword arg)) |
| 1333 | (make-obsolete 'c-forward-into-nomenclature 'c-forward-subword) | 1333 | (make-obsolete 'c-forward-into-nomenclature 'c-forward-subword "22.1") |
| 1334 | 1334 | ||
| 1335 | (defun c-backward-into-nomenclature (&optional arg) | 1335 | (defun c-backward-into-nomenclature (&optional arg) |
| 1336 | "Compatibility alias for `c-backward-subword'." | 1336 | "Compatibility alias for `c-backward-subword'." |
| 1337 | (interactive "p") | 1337 | (interactive "p") |
| 1338 | (require 'cc-subword) | 1338 | (require 'cc-subword) |
| 1339 | (c-backward-subword arg)) | 1339 | (c-backward-subword arg)) |
| 1340 | (make-obsolete 'c-backward-into-nomenclature 'c-backward-subword) | 1340 | (make-obsolete 'c-backward-into-nomenclature 'c-backward-subword "22.1") |
| 1341 | 1341 | ||
| 1342 | (defun c-scope-operator () | 1342 | (defun c-scope-operator () |
| 1343 | "Insert a double colon scope operator at point. | 1343 | "Insert a double colon scope operator at point. |
| @@ -4431,7 +4431,7 @@ If a fill prefix is specified, it overrides all the above." | |||
| 4431 | (indent-to col)))))) | 4431 | (indent-to col)))))) |
| 4432 | 4432 | ||
| 4433 | (defalias 'c-comment-line-break-function 'c-indent-new-comment-line) | 4433 | (defalias 'c-comment-line-break-function 'c-indent-new-comment-line) |
| 4434 | (make-obsolete 'c-comment-line-break-function 'c-indent-new-comment-line) | 4434 | (make-obsolete 'c-comment-line-break-function 'c-indent-new-comment-line "21.1") |
| 4435 | 4435 | ||
| 4436 | ;; advice for indent-new-comment-line for older Emacsen | 4436 | ;; advice for indent-new-comment-line for older Emacsen |
| 4437 | (unless (boundp 'comment-line-break-function) | 4437 | (unless (boundp 'comment-line-break-function) |
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index b2a36220a7f..24b5a9b33f1 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el | |||
| @@ -7103,7 +7103,7 @@ comment at the start of cc-engine.el for more info." | |||
| 7103 | ;; | 7103 | ;; |
| 7104 | ;; This function might do hidden buffer changes. | 7104 | ;; This function might do hidden buffer changes. |
| 7105 | (c-at-statement-start-p)) | 7105 | (c-at-statement-start-p)) |
| 7106 | (make-obsolete 'c-looking-at-bos 'c-at-statement-start-p) | 7106 | (make-obsolete 'c-looking-at-bos 'c-at-statement-start-p "22.1") |
| 7107 | 7107 | ||
| 7108 | (defun c-looking-at-inexpr-block (lim containing-sexp &optional check-at-end) | 7108 | (defun c-looking-at-inexpr-block (lim containing-sexp &optional check-at-end) |
| 7109 | ;; Return non-nil if we're looking at the beginning of a block | 7109 | ;; Return non-nil if we're looking at the beginning of a block |
diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el index a1f7d3ad3f2..153b7356686 100644 --- a/lisp/progmodes/cc-vars.el +++ b/lisp/progmodes/cc-vars.el | |||
| @@ -451,7 +451,7 @@ comment-only lines." | |||
| 451 | :group 'c) | 451 | :group 'c) |
| 452 | 452 | ||
| 453 | (make-obsolete-variable 'c-comment-continuation-stars | 453 | (make-obsolete-variable 'c-comment-continuation-stars |
| 454 | 'c-block-comment-prefix) | 454 | 'c-block-comment-prefix "21.1") |
| 455 | 455 | ||
| 456 | ;; Although c-comment-continuation-stars is obsolete, we look at it in | 456 | ;; Although c-comment-continuation-stars is obsolete, we look at it in |
| 457 | ;; some places in CC Mode anyway, so make the compiler ignore it | 457 | ;; some places in CC Mode anyway, so make the compiler ignore it |