diff options
| author | Stefan Monnier | 2012-05-12 23:05:06 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-05-12 23:05:06 -0400 |
| commit | e5bd0a28953dcf6c3b811a7d17e7664c8d664a7c (patch) | |
| tree | fafff16925c9be51ccf3bf1a8215b0756941ecdc | |
| parent | 9e6b06ed73b88a89ba1e31aaf8f3f7afe20f6cdd (diff) | |
| download | emacs-e5bd0a28953dcf6c3b811a7d17e7664c8d664a7c.tar.gz emacs-e5bd0a28953dcf6c3b811a7d17e7664c8d664a7c.zip | |
Move define-obsolete-variable-alias before the var's definition.
* lisp/vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
* lisp/tooltip.el (tooltip-hook):
* lisp/textmodes/reftex-toc.el (reftex-toc-map):
* lisp/textmodes/reftex-sel.el (reftex-select-label-map)
(reftex-select-bib-map):
* lisp/textmodes/reftex-index.el (reftex-index-map)
(reftex-index-phrases-map):
* lisp/speedbar.el (speedbar-syntax-table, speedbar-key-map):
* lisp/progmodes/meta-mode.el (meta-mode-map):
* lisp/novice.el (disabled-command-hook):
* lisp/loadhist.el (unload-hook-features-list):
* lisp/frame.el (blink-cursor):
* lisp/files.el (find-file-not-found-hooks, write-file-hooks)
(write-contents-hooks):
* lisp/emulation/tpu-edt.el (GOLD-map):
* lisp/emacs-lock.el (emacs-lock-from-exiting):
* lisp/emacs-lisp/generic.el (generic-font-lock-defaults):
* lisp/emacs-lisp/chart.el (chart-map):
* lisp/dos-fns.el (register-name-alist):
* lisp/dired-x.el (dired-omit-files-p):
* lisp/desktop.el (desktop-enable):
* lisp/cus-edit.el (custom-mode-hook):
* lisp/buff-menu.el (buffer-menu-mode-hook):
* lisp/bookmark.el (bookmark-read-annotation-text-func)
(bookmark-exit-hooks):
* lisp/allout.el (allout-mode-deactivate-hook)
(allout-exposure-change-hook, allout-structure-added-hook)
(allout-structure-deleted-hook, allout-structure-shifted-hook):
* lisp/dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
(dirtrack-debug): Move call to define-obsolete-variable-alias so it
comes before the corresponding variable's definition.
| -rw-r--r-- | lisp/ChangeLog | 35 | ||||
| -rw-r--r-- | lisp/allout.el | 24 | ||||
| -rw-r--r-- | lisp/bookmark.el | 8 | ||||
| -rw-r--r-- | lisp/buff-menu.el | 6 | ||||
| -rw-r--r-- | lisp/cus-edit.el | 2 | ||||
| -rw-r--r-- | lisp/desktop.el | 6 | ||||
| -rw-r--r-- | lisp/dired-x.el | 5 | ||||
| -rw-r--r-- | lisp/dirtrack.el | 13 | ||||
| -rw-r--r-- | lisp/dos-fns.el | 6 | ||||
| -rw-r--r-- | lisp/emacs-lisp/chart.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/generic.el | 3 | ||||
| -rw-r--r-- | lisp/emacs-lock.el | 4 | ||||
| -rw-r--r-- | lisp/emulation/tpu-edt.el | 2 | ||||
| -rw-r--r-- | lisp/files.el | 10 | ||||
| -rw-r--r-- | lisp/frame.el | 7 | ||||
| -rw-r--r-- | lisp/loadhist.el | 4 | ||||
| -rw-r--r-- | lisp/novice.el | 6 | ||||
| -rw-r--r-- | lisp/progmodes/meta-mode.el | 2 | ||||
| -rw-r--r-- | lisp/speedbar.el | 6 | ||||
| -rw-r--r-- | lisp/textmodes/reftex-index.el | 8 | ||||
| -rw-r--r-- | lisp/textmodes/reftex-sel.el | 8 | ||||
| -rw-r--r-- | lisp/textmodes/reftex-toc.el | 2 | ||||
| -rw-r--r-- | lisp/tooltip.el | 4 | ||||
| -rw-r--r-- | lisp/vc/log-edit.el | 5 |
24 files changed, 103 insertions, 75 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 26c4a492fb6..c12bf638243 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,38 @@ | |||
| 1 | 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | Move define-obsolete-variable-alias before the var's definition. | ||
| 4 | * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index): | ||
| 5 | * tooltip.el (tooltip-hook): | ||
| 6 | * textmodes/reftex-toc.el (reftex-toc-map): | ||
| 7 | * textmodes/reftex-sel.el (reftex-select-label-map) | ||
| 8 | (reftex-select-bib-map): | ||
| 9 | * textmodes/reftex-index.el (reftex-index-map) | ||
| 10 | (reftex-index-phrases-map): | ||
| 11 | * speedbar.el (speedbar-syntax-table, speedbar-key-map): | ||
| 12 | * progmodes/meta-mode.el (meta-mode-map): | ||
| 13 | * novice.el (disabled-command-hook): | ||
| 14 | * loadhist.el (unload-hook-features-list): | ||
| 15 | * frame.el (blink-cursor): | ||
| 16 | * files.el (find-file-not-found-hooks, write-file-hooks) | ||
| 17 | (write-contents-hooks): | ||
| 18 | * emulation/tpu-edt.el (GOLD-map): | ||
| 19 | * emacs-lock.el (emacs-lock-from-exiting): | ||
| 20 | * emacs-lisp/generic.el (generic-font-lock-defaults): | ||
| 21 | * emacs-lisp/chart.el (chart-map): | ||
| 22 | * dos-fns.el (register-name-alist): | ||
| 23 | * dired-x.el (dired-omit-files-p): | ||
| 24 | * desktop.el (desktop-enable): | ||
| 25 | * cus-edit.el (custom-mode-hook): | ||
| 26 | * buff-menu.el (buffer-menu-mode-hook): | ||
| 27 | * bookmark.el (bookmark-read-annotation-text-func) | ||
| 28 | (bookmark-exit-hooks): | ||
| 29 | * allout.el (allout-mode-deactivate-hook) | ||
| 30 | (allout-exposure-change-hook, allout-structure-added-hook) | ||
| 31 | (allout-structure-deleted-hook, allout-structure-shifted-hook): | ||
| 32 | * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle) | ||
| 33 | (dirtrack-debug): Move call to define-obsolete-variable-alias so it | ||
| 34 | comes before the corresponding variable's definition. | ||
| 35 | |||
| 1 | 2012-05-12 Chong Yidong <cyd@gnu.org> | 36 | 2012-05-12 Chong Yidong <cyd@gnu.org> |
| 2 | 37 | ||
| 3 | * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454). | 38 | * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454). |
diff --git a/lisp/allout.el b/lisp/allout.el index 6e544716247..7077af55e60 100644 --- a/lisp/allout.el +++ b/lisp/allout.el | |||
| @@ -1405,15 +1405,17 @@ their settings before allout-mode was started." | |||
| 1405 | (defvar allout-mode-hook nil | 1405 | (defvar allout-mode-hook nil |
| 1406 | "Hook run when allout mode starts.") | 1406 | "Hook run when allout mode starts.") |
| 1407 | ;;;_ = allout-mode-deactivate-hook | 1407 | ;;;_ = allout-mode-deactivate-hook |
| 1408 | (defvar allout-mode-deactivate-hook nil | ||
| 1409 | "Hook run when allout mode ends.") | ||
| 1410 | (define-obsolete-variable-alias 'allout-mode-deactivate-hook | 1408 | (define-obsolete-variable-alias 'allout-mode-deactivate-hook |
| 1411 | 'allout-mode-off-hook "24.1") | 1409 | 'allout-mode-off-hook "24.1") |
| 1410 | (defvar allout-mode-deactivate-hook nil | ||
| 1411 | "Hook run when allout mode ends.") | ||
| 1412 | ;;;_ = allout-exposure-category | 1412 | ;;;_ = allout-exposure-category |
| 1413 | (defvar allout-exposure-category nil | 1413 | (defvar allout-exposure-category nil |
| 1414 | "Symbol for use as allout invisible-text overlay category.") | 1414 | "Symbol for use as allout invisible-text overlay category.") |
| 1415 | 1415 | ||
| 1416 | ;;;_ = allout-exposure-change-functions | 1416 | ;;;_ = allout-exposure-change-functions |
| 1417 | (define-obsolete-variable-alias 'allout-exposure-change-hook | ||
| 1418 | 'allout-exposure-change-functions "24.2") | ||
| 1417 | (defcustom allout-exposure-change-functions nil | 1419 | (defcustom allout-exposure-change-functions nil |
| 1418 | "Abnormal hook run after allout outline subtree exposure changes. | 1420 | "Abnormal hook run after allout outline subtree exposure changes. |
| 1419 | It is run at the conclusion of `allout-flag-region'. | 1421 | It is run at the conclusion of `allout-flag-region'. |
| @@ -1429,10 +1431,9 @@ This hook might be invoked multiple times by a single command." | |||
| 1429 | :group 'allout | 1431 | :group 'allout |
| 1430 | :version "24.2") | 1432 | :version "24.2") |
| 1431 | 1433 | ||
| 1432 | (define-obsolete-variable-alias 'allout-exposure-change-hook | ||
| 1433 | 'allout-exposure-change-functions "24.2") | ||
| 1434 | |||
| 1435 | ;;;_ = allout-structure-added-functions | 1434 | ;;;_ = allout-structure-added-functions |
| 1435 | (define-obsolete-variable-alias 'allout-structure-added-hook | ||
| 1436 | 'allout-structure-added-functions "24.2") | ||
| 1436 | (defcustom allout-structure-added-functions nil | 1437 | (defcustom allout-structure-added-functions nil |
| 1437 | "Abnormal hook run after adding items to an Allout outline. | 1438 | "Abnormal hook run after adding items to an Allout outline. |
| 1438 | Functions on the hook should take two arguments: | 1439 | Functions on the hook should take two arguments: |
| @@ -1445,10 +1446,9 @@ This hook might be invoked multiple times by a single command." | |||
| 1445 | :group 'allout | 1446 | :group 'allout |
| 1446 | :version "24.2") | 1447 | :version "24.2") |
| 1447 | 1448 | ||
| 1448 | (define-obsolete-variable-alias 'allout-structure-added-hook | ||
| 1449 | 'allout-structure-added-functions "24.2") | ||
| 1450 | |||
| 1451 | ;;;_ = allout-structure-deleted-functions | 1449 | ;;;_ = allout-structure-deleted-functions |
| 1450 | (define-obsolete-variable-alias 'allout-structure-deleted-hook | ||
| 1451 | 'allout-structure-deleted-functions "24.2") | ||
| 1452 | (defcustom allout-structure-deleted-functions nil | 1452 | (defcustom allout-structure-deleted-functions nil |
| 1453 | "Abnormal hook run after deleting subtrees from an Allout outline. | 1453 | "Abnormal hook run after deleting subtrees from an Allout outline. |
| 1454 | Functions on the hook must take two arguments: | 1454 | Functions on the hook must take two arguments: |
| @@ -1464,10 +1464,9 @@ This hook might be invoked multiple times by a single command." | |||
| 1464 | :group 'allout | 1464 | :group 'allout |
| 1465 | :version "24.2") | 1465 | :version "24.2") |
| 1466 | 1466 | ||
| 1467 | (define-obsolete-variable-alias 'allout-structure-deleted-hook | ||
| 1468 | 'allout-structure-deleted-functions "24.2") | ||
| 1469 | |||
| 1470 | ;;;_ = allout-structure-shifted-functions | 1467 | ;;;_ = allout-structure-shifted-functions |
| 1468 | (define-obsolete-variable-alias 'allout-structure-shifted-hook | ||
| 1469 | 'allout-structure-shifted-functions "24.2") | ||
| 1471 | (defcustom allout-structure-shifted-functions nil | 1470 | (defcustom allout-structure-shifted-functions nil |
| 1472 | "Abnormal hook run after shifting items in an Allout outline. | 1471 | "Abnormal hook run after shifting items in an Allout outline. |
| 1473 | Functions on the hook should take two arguments: | 1472 | Functions on the hook should take two arguments: |
| @@ -1483,9 +1482,6 @@ This hook might be invoked multiple times by a single command." | |||
| 1483 | :group 'allout | 1482 | :group 'allout |
| 1484 | :version "24.2") | 1483 | :version "24.2") |
| 1485 | 1484 | ||
| 1486 | (define-obsolete-variable-alias 'allout-structure-shifted-hook | ||
| 1487 | 'allout-structure-shifted-functions "24.2") | ||
| 1488 | |||
| 1489 | ;;;_ = allout-after-copy-or-kill-hook | 1485 | ;;;_ = allout-after-copy-or-kill-hook |
| 1490 | (defcustom allout-after-copy-or-kill-hook nil | 1486 | (defcustom allout-after-copy-or-kill-hook nil |
| 1491 | "Normal hook run after copying outline text.." | 1487 | "Normal hook run after copying outline text.." |
diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 33b91fd7db2..f7266dc2250 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el | |||
| @@ -828,11 +828,11 @@ annotations." | |||
| 828 | "# Date: " (current-time-string) "\n")) | 828 | "# Date: " (current-time-string) "\n")) |
| 829 | 829 | ||
| 830 | 830 | ||
| 831 | (define-obsolete-variable-alias 'bookmark-read-annotation-text-func | ||
| 832 | 'bookmark-edit-annotation-text-func "23.1") | ||
| 831 | (defvar bookmark-edit-annotation-text-func 'bookmark-default-annotation-text | 833 | (defvar bookmark-edit-annotation-text-func 'bookmark-default-annotation-text |
| 832 | "Function to return default text to use for a bookmark annotation. | 834 | "Function to return default text to use for a bookmark annotation. |
| 833 | It takes one argument, the name of the bookmark, as a string.") | 835 | It takes one argument, the name of the bookmark, as a string.") |
| 834 | (define-obsolete-variable-alias 'bookmark-read-annotation-text-func | ||
| 835 | 'bookmark-edit-annotation-text-func "23.1") | ||
| 836 | 836 | ||
| 837 | (defvar bookmark-edit-annotation-mode-map | 837 | (defvar bookmark-edit-annotation-mode-map |
| 838 | (let ((map (make-sparse-keymap))) | 838 | (let ((map (make-sparse-keymap))) |
| @@ -2164,11 +2164,11 @@ strings returned are not." | |||
| 2164 | "Hook run at the end of loading library `bookmark.el'.") | 2164 | "Hook run at the end of loading library `bookmark.el'.") |
| 2165 | 2165 | ||
| 2166 | ;; Exit Hook, called from kill-emacs-hook | 2166 | ;; Exit Hook, called from kill-emacs-hook |
| 2167 | (define-obsolete-variable-alias 'bookmark-exit-hooks | ||
| 2168 | 'bookmark-exit-hook "22.1") | ||
| 2167 | (defvar bookmark-exit-hook nil | 2169 | (defvar bookmark-exit-hook nil |
| 2168 | "Hook run when Emacs exits.") | 2170 | "Hook run when Emacs exits.") |
| 2169 | 2171 | ||
| 2170 | (define-obsolete-variable-alias 'bookmark-exit-hooks 'bookmark-exit-hook "22.1") | ||
| 2171 | |||
| 2172 | (defun bookmark-exit-hook-internal () | 2172 | (defun bookmark-exit-hook-internal () |
| 2173 | "Save bookmark state, if necessary, at Emacs exit time. | 2173 | "Save bookmark state, if necessary, at Emacs exit time. |
| 2174 | This also runs `bookmark-exit-hook'." | 2174 | This also runs `bookmark-exit-hook'." |
diff --git a/lisp/buff-menu.el b/lisp/buff-menu.el index 0ecbba09254..f501583b9ba 100644 --- a/lisp/buff-menu.el +++ b/lisp/buff-menu.el | |||
| @@ -199,6 +199,9 @@ commands.") | |||
| 199 | map) | 199 | map) |
| 200 | "Local keymap for `Buffer-menu-mode' buffers.") | 200 | "Local keymap for `Buffer-menu-mode' buffers.") |
| 201 | 201 | ||
| 202 | (define-obsolete-variable-alias 'buffer-menu-mode-hook | ||
| 203 | 'Buffer-menu-mode-hook "23.1") | ||
| 204 | |||
| 202 | (define-derived-mode Buffer-menu-mode tabulated-list-mode "Buffer Menu" | 205 | (define-derived-mode Buffer-menu-mode tabulated-list-mode "Buffer Menu" |
| 203 | "Major mode for Buffer Menu buffers. | 206 | "Major mode for Buffer Menu buffers. |
| 204 | The Buffer Menu is invoked by the commands \\[list-buffers], \\[buffer-menu], and | 207 | The Buffer Menu is invoked by the commands \\[list-buffers], \\[buffer-menu], and |
| @@ -207,9 +210,6 @@ The Buffer Menu is invoked by the commands \\[list-buffers], \\[buffer-menu], an | |||
| 207 | (lambda (&optional _noconfirm) 'fast)) | 210 | (lambda (&optional _noconfirm) 'fast)) |
| 208 | (add-hook 'tabulated-list-revert-hook 'list-buffers--refresh nil t)) | 211 | (add-hook 'tabulated-list-revert-hook 'list-buffers--refresh nil t)) |
| 209 | 212 | ||
| 210 | (define-obsolete-variable-alias 'buffer-menu-mode-hook | ||
| 211 | 'Buffer-menu-mode-hook "23.1") | ||
| 212 | |||
| 213 | (defun buffer-menu (&optional arg) | 213 | (defun buffer-menu (&optional arg) |
| 214 | "Switch to the Buffer Menu. | 214 | "Switch to the Buffer Menu. |
| 215 | By default, all buffers are listed except those whose names start | 215 | By default, all buffers are listed except those whose names start |
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 52308319f15..e946279ee57 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -4825,6 +4825,7 @@ If several parents are listed, go to the first of them." | |||
| 4825 | (set (make-local-variable 'widget-link-suffix) "")) | 4825 | (set (make-local-variable 'widget-link-suffix) "")) |
| 4826 | (setq show-trailing-whitespace nil)) | 4826 | (setq show-trailing-whitespace nil)) |
| 4827 | 4827 | ||
| 4828 | (define-obsolete-variable-alias 'custom-mode-hook 'Custom-mode-hook "23.1") | ||
| 4828 | (define-derived-mode Custom-mode nil "Custom" | 4829 | (define-derived-mode Custom-mode nil "Custom" |
| 4829 | "Major mode for editing customization buffers. | 4830 | "Major mode for editing customization buffers. |
| 4830 | 4831 | ||
| @@ -4873,7 +4874,6 @@ if that value is non-nil." | |||
| 4873 | (Custom-mode)) | 4874 | (Custom-mode)) |
| 4874 | (make-obsolete 'custom-mode 'Custom-mode "23.1") | 4875 | (make-obsolete 'custom-mode 'Custom-mode "23.1") |
| 4875 | (put 'custom-mode 'mode-class 'special) | 4876 | (put 'custom-mode 'mode-class 'special) |
| 4876 | (define-obsolete-variable-alias 'custom-mode-hook 'Custom-mode-hook "23.1") | ||
| 4877 | 4877 | ||
| 4878 | (add-to-list 'debug-ignored-errors "^Invalid face:? ") | 4878 | (add-to-list 'debug-ignored-errors "^Invalid face:? ") |
| 4879 | 4879 | ||
diff --git a/lisp/desktop.el b/lisp/desktop.el index 674ce72dba3..f7a33f2b05d 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el | |||
| @@ -145,6 +145,8 @@ backward compatibility.") | |||
| 145 | "Save status of Emacs when you exit." | 145 | "Save status of Emacs when you exit." |
| 146 | :group 'frames) | 146 | :group 'frames) |
| 147 | 147 | ||
| 148 | ;; Maintained for backward compatibility | ||
| 149 | (define-obsolete-variable-alias 'desktop-enable 'desktop-save-mode "22.1") | ||
| 148 | ;;;###autoload | 150 | ;;;###autoload |
| 149 | (define-minor-mode desktop-save-mode | 151 | (define-minor-mode desktop-save-mode |
| 150 | "Toggle desktop saving (Desktop Save mode). | 152 | "Toggle desktop saving (Desktop Save mode). |
| @@ -158,10 +160,6 @@ one session to another. See variable `desktop-save' and function | |||
| 158 | :global t | 160 | :global t |
| 159 | :group 'desktop) | 161 | :group 'desktop) |
| 160 | 162 | ||
| 161 | ;; Maintained for backward compatibility | ||
| 162 | (define-obsolete-variable-alias 'desktop-enable | ||
| 163 | 'desktop-save-mode "22.1") | ||
| 164 | |||
| 165 | (defun desktop-save-mode-off () | 163 | (defun desktop-save-mode-off () |
| 166 | "Disable `desktop-save-mode'. Provided for use in hooks." | 164 | "Disable `desktop-save-mode'. Provided for use in hooks." |
| 167 | (desktop-save-mode 0)) | 165 | (desktop-save-mode 0)) |
diff --git a/lisp/dired-x.el b/lisp/dired-x.el index b45a340706f..1012deccd3c 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el | |||
| @@ -132,6 +132,8 @@ If nil, there is no maximum size." | |||
| 132 | :type '(choice (const :tag "no maximum" nil) integer) | 132 | :type '(choice (const :tag "no maximum" nil) integer) |
| 133 | :group 'dired-x) | 133 | :group 'dired-x) |
| 134 | 134 | ||
| 135 | ;; For backward compatibility | ||
| 136 | (define-obsolete-variable-alias 'dired-omit-files-p 'dired-omit-mode "22.1") | ||
| 135 | (define-minor-mode dired-omit-mode | 137 | (define-minor-mode dired-omit-mode |
| 136 | "Toggle omission of uninteresting files in Dired (Dired-Omit mode). | 138 | "Toggle omission of uninteresting files in Dired (Dired-Omit mode). |
| 137 | With a prefix argument ARG, enable Dired-Omit mode if ARG is | 139 | With a prefix argument ARG, enable Dired-Omit mode if ARG is |
| @@ -157,9 +159,6 @@ See Info node `(dired-x) Omitting Variables' for more information." | |||
| 157 | 159 | ||
| 158 | (put 'dired-omit-mode 'safe-local-variable 'booleanp) | 160 | (put 'dired-omit-mode 'safe-local-variable 'booleanp) |
| 159 | 161 | ||
| 160 | ;; For backward compatibility | ||
| 161 | (define-obsolete-variable-alias 'dired-omit-files-p 'dired-omit-mode "22.1") | ||
| 162 | |||
| 163 | (defcustom dired-omit-files "^\\.?#\\|^\\.$\\|^\\.\\.$" | 162 | (defcustom dired-omit-files "^\\.?#\\|^\\.$\\|^\\.\\.$" |
| 164 | "Filenames matching this regexp will not be displayed. | 163 | "Filenames matching this regexp will not be displayed. |
| 165 | This only has effect when `dired-omit-mode' is t. See interactive function | 164 | This only has effect when `dired-omit-mode' is t. See interactive function |
diff --git a/lisp/dirtrack.el b/lisp/dirtrack.el index 4f6236b240e..5e825032741 100644 --- a/lisp/dirtrack.el +++ b/lisp/dirtrack.el | |||
| @@ -179,6 +179,8 @@ and ends with a forward slash." | |||
| 179 | dir)) | 179 | dir)) |
| 180 | 180 | ||
| 181 | 181 | ||
| 182 | (define-obsolete-function-alias 'dirtrack-toggle 'dirtrack-mode "23.1") | ||
| 183 | (define-obsolete-variable-alias 'dirtrackp 'dirtrack-mode "23.1") | ||
| 182 | ;;;###autoload | 184 | ;;;###autoload |
| 183 | (define-minor-mode dirtrack-mode | 185 | (define-minor-mode dirtrack-mode |
| 184 | "Toggle directory tracking in shell buffers (Dirtrack mode). | 186 | "Toggle directory tracking in shell buffers (Dirtrack mode). |
| @@ -198,10 +200,10 @@ directory." | |||
| 198 | (add-hook 'comint-preoutput-filter-functions 'dirtrack nil t) | 200 | (add-hook 'comint-preoutput-filter-functions 'dirtrack nil t) |
| 199 | (remove-hook 'comint-preoutput-filter-functions 'dirtrack t))) | 201 | (remove-hook 'comint-preoutput-filter-functions 'dirtrack t))) |
| 200 | 202 | ||
| 201 | (define-obsolete-function-alias 'dirtrack-toggle 'dirtrack-mode "23.1") | ||
| 202 | (define-obsolete-variable-alias 'dirtrackp 'dirtrack-mode "23.1") | ||
| 203 | |||
| 204 | 203 | ||
| 204 | (define-obsolete-function-alias 'dirtrack-debug-toggle 'dirtrack-debug-mode | ||
| 205 | "23.1") | ||
| 206 | (define-obsolete-variable-alias 'dirtrack-debug 'dirtrack-debug-mode "23.1") | ||
| 205 | (define-minor-mode dirtrack-debug-mode | 207 | (define-minor-mode dirtrack-debug-mode |
| 206 | "Toggle Dirtrack debugging. | 208 | "Toggle Dirtrack debugging. |
| 207 | With a prefix argument ARG, enable Dirtrack debugging if ARG is | 209 | With a prefix argument ARG, enable Dirtrack debugging if ARG is |
| @@ -211,11 +213,6 @@ the mode if ARG is omitted or nil." | |||
| 211 | (if dirtrack-debug-mode | 213 | (if dirtrack-debug-mode |
| 212 | (display-buffer (get-buffer-create dirtrack-debug-buffer)))) | 214 | (display-buffer (get-buffer-create dirtrack-debug-buffer)))) |
| 213 | 215 | ||
| 214 | (define-obsolete-function-alias 'dirtrack-debug-toggle 'dirtrack-debug-mode | ||
| 215 | "23.1") | ||
| 216 | (define-obsolete-variable-alias 'dirtrack-debug 'dirtrack-debug-mode "23.1") | ||
| 217 | |||
| 218 | |||
| 219 | (defun dirtrack-debug-message (msg1 msg2) | 216 | (defun dirtrack-debug-message (msg1 msg2) |
| 220 | "Insert strings at the end of `dirtrack-debug-buffer'." | 217 | "Insert strings at the end of `dirtrack-debug-buffer'." |
| 221 | (when dirtrack-debug-mode | 218 | (when dirtrack-debug-mode |
diff --git a/lisp/dos-fns.el b/lisp/dos-fns.el index 074fd642d67..c317bf84db6 100644 --- a/lisp/dos-fns.el +++ b/lisp/dos-fns.el | |||
| @@ -233,15 +233,15 @@ returned unaltered." | |||
| 233 | 233 | ||
| 234 | (add-hook 'before-init-hook 'dos-reevaluate-defcustoms) | 234 | (add-hook 'before-init-hook 'dos-reevaluate-defcustoms) |
| 235 | 235 | ||
| 236 | (define-obsolete-variable-alias | ||
| 237 | 'register-name-alist 'dos-register-name-alist "24.1") | ||
| 238 | |||
| 236 | (defvar dos-register-name-alist | 239 | (defvar dos-register-name-alist |
| 237 | '((ax . 0) (bx . 1) (cx . 2) (dx . 3) (si . 4) (di . 5) | 240 | '((ax . 0) (bx . 1) (cx . 2) (dx . 3) (si . 4) (di . 5) |
| 238 | (cflag . 6) (flags . 7) | 241 | (cflag . 6) (flags . 7) |
| 239 | (al . (0 . 0)) (bl . (1 . 0)) (cl . (2 . 0)) (dl . (3 . 0)) | 242 | (al . (0 . 0)) (bl . (1 . 0)) (cl . (2 . 0)) (dl . (3 . 0)) |
| 240 | (ah . (0 . 1)) (bh . (1 . 1)) (ch . (2 . 1)) (dh . (3 . 1)))) | 243 | (ah . (0 . 1)) (bh . (1 . 1)) (ch . (2 . 1)) (dh . (3 . 1)))) |
| 241 | 244 | ||
| 242 | (define-obsolete-variable-alias | ||
| 243 | 'register-name-alist 'dos-register-name-alist "24.1") | ||
| 244 | |||
| 245 | (defun dos-make-register () | 245 | (defun dos-make-register () |
| 246 | (make-vector 8 0)) | 246 | (make-vector 8 0)) |
| 247 | 247 | ||
diff --git a/lisp/emacs-lisp/chart.el b/lisp/emacs-lisp/chart.el index 2e3abb2e9d3..74087014d69 100644 --- a/lisp/emacs-lisp/chart.el +++ b/lisp/emacs-lisp/chart.el | |||
| @@ -62,8 +62,8 @@ | |||
| 62 | (require 'eieio) | 62 | (require 'eieio) |
| 63 | 63 | ||
| 64 | ;;; Code: | 64 | ;;; Code: |
| 65 | (defvar chart-mode-map (make-sparse-keymap) "Keymap used in chart mode.") | ||
| 66 | (define-obsolete-variable-alias 'chart-map 'chart-mode-map "24.1") | 65 | (define-obsolete-variable-alias 'chart-map 'chart-mode-map "24.1") |
| 66 | (defvar chart-mode-map (make-sparse-keymap) "Keymap used in chart mode.") | ||
| 67 | 67 | ||
| 68 | (defvar chart-local-object nil | 68 | (defvar chart-local-object nil |
| 69 | "Local variable containing the locally displayed chart object.") | 69 | "Local variable containing the locally displayed chart object.") |
diff --git a/lisp/emacs-lisp/generic.el b/lisp/emacs-lisp/generic.el index 6667a101865..b9db092fafc 100644 --- a/lisp/emacs-lisp/generic.el +++ b/lisp/emacs-lisp/generic.el | |||
| @@ -97,10 +97,11 @@ | |||
| 97 | ;; Internal Variables | 97 | ;; Internal Variables |
| 98 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 98 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 99 | 99 | ||
| 100 | (define-obsolete-variable-alias 'generic-font-lock-defaults | ||
| 101 | 'generic-font-lock-keywords "22.1") | ||
| 100 | (defvar generic-font-lock-keywords nil | 102 | (defvar generic-font-lock-keywords nil |
| 101 | "Keywords for `font-lock-defaults' in a generic mode.") | 103 | "Keywords for `font-lock-defaults' in a generic mode.") |
| 102 | (make-variable-buffer-local 'generic-font-lock-keywords) | 104 | (make-variable-buffer-local 'generic-font-lock-keywords) |
| 103 | (define-obsolete-variable-alias 'generic-font-lock-defaults 'generic-font-lock-keywords "22.1") | ||
| 104 | 105 | ||
| 105 | ;;;###autoload | 106 | ;;;###autoload |
| 106 | (defvar generic-mode-list nil | 107 | (defvar generic-mode-list nil |
diff --git a/lisp/emacs-lock.el b/lisp/emacs-lock.el index f5954564a2f..6d91238f2b1 100644 --- a/lisp/emacs-lock.el +++ b/lisp/emacs-lock.el | |||
| @@ -186,6 +186,8 @@ Return a value appropriate for `kill-buffer-query-functions' (which see)." | |||
| 186 | ;; anything else (turn off) | 186 | ;; anything else (turn off) |
| 187 | mode)))) | 187 | mode)))) |
| 188 | 188 | ||
| 189 | (define-obsolete-variable-alias 'emacs-lock-from-exiting | ||
| 190 | 'emacs-lock-mode "24.1") | ||
| 189 | ;;;###autoload | 191 | ;;;###autoload |
| 190 | (define-minor-mode emacs-lock-mode | 192 | (define-minor-mode emacs-lock-mode |
| 191 | "Toggle Emacs Lock mode in the current buffer. | 193 | "Toggle Emacs Lock mode in the current buffer. |
| @@ -245,8 +247,6 @@ Other values are interpreted as usual." | |||
| 245 | 247 | ||
| 246 | ;;; Compatibility | 248 | ;;; Compatibility |
| 247 | 249 | ||
| 248 | (define-obsolete-variable-alias 'emacs-lock-from-exiting 'emacs-lock-mode "24.1") | ||
| 249 | |||
| 250 | (defun toggle-emacs-lock () | 250 | (defun toggle-emacs-lock () |
| 251 | "Toggle `emacs-lock-from-exiting' for the current buffer." | 251 | "Toggle `emacs-lock-from-exiting' for the current buffer." |
| 252 | (interactive) | 252 | (interactive) |
diff --git a/lisp/emulation/tpu-edt.el b/lisp/emulation/tpu-edt.el index eaf88ccdf85..b8d07e8b744 100644 --- a/lisp/emulation/tpu-edt.el +++ b/lisp/emulation/tpu-edt.el | |||
| @@ -315,6 +315,7 @@ Otherwise, use `spell-region'." | |||
| 315 | ;;; Global Keymaps | 315 | ;;; Global Keymaps |
| 316 | ;;; | 316 | ;;; |
| 317 | 317 | ||
| 318 | (define-obsolete-variable-alias 'GOLD-map 'tpu-gold-map "23.1") | ||
| 318 | (defvar tpu-gold-map | 319 | (defvar tpu-gold-map |
| 319 | (let ((map (make-keymap))) | 320 | (let ((map (make-keymap))) |
| 320 | ;; Previously we used escape sequences here. We now instead presume | 321 | ;; Previously we used escape sequences here. We now instead presume |
| @@ -494,7 +495,6 @@ Otherwise, use `spell-region'." | |||
| 494 | map) | 495 | map) |
| 495 | "Maps the function keys on the VT100 keyboard preceded by PF1. | 496 | "Maps the function keys on the VT100 keyboard preceded by PF1. |
| 496 | GOLD is the ASCII 7-bit escape sequence <ESC>OP.") | 497 | GOLD is the ASCII 7-bit escape sequence <ESC>OP.") |
| 497 | (define-obsolete-variable-alias 'GOLD-map 'tpu-gold-map "23.1") | ||
| 498 | 498 | ||
| 499 | (defvar tpu-global-map | 499 | (defvar tpu-global-map |
| 500 | (let ((map (make-sparse-keymap))) | 500 | (let ((map (make-sparse-keymap))) |
diff --git a/lisp/files.el b/lisp/files.el index 2870fedf967..6691b362292 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -415,13 +415,13 @@ location of point in the current buffer." | |||
| 415 | 415 | ||
| 416 | ;;;It is not useful to make this a local variable. | 416 | ;;;It is not useful to make this a local variable. |
| 417 | ;;;(put 'find-file-not-found-hooks 'permanent-local t) | 417 | ;;;(put 'find-file-not-found-hooks 'permanent-local t) |
| 418 | (define-obsolete-variable-alias 'find-file-not-found-hooks | ||
| 419 | 'find-file-not-found-functions "22.1") | ||
| 418 | (defvar find-file-not-found-functions nil | 420 | (defvar find-file-not-found-functions nil |
| 419 | "List of functions to be called for `find-file' on nonexistent file. | 421 | "List of functions to be called for `find-file' on nonexistent file. |
| 420 | These functions are called as soon as the error is detected. | 422 | These functions are called as soon as the error is detected. |
| 421 | Variable `buffer-file-name' is already set up. | 423 | Variable `buffer-file-name' is already set up. |
| 422 | The functions are called in the order given until one of them returns non-nil.") | 424 | The functions are called in the order given until one of them returns non-nil.") |
| 423 | (define-obsolete-variable-alias 'find-file-not-found-hooks | ||
| 424 | 'find-file-not-found-functions "22.1") | ||
| 425 | 425 | ||
| 426 | ;;;It is not useful to make this a local variable. | 426 | ;;;It is not useful to make this a local variable. |
| 427 | ;;;(put 'find-file-hooks 'permanent-local t) | 427 | ;;;(put 'find-file-hooks 'permanent-local t) |
| @@ -435,6 +435,7 @@ functions are called." | |||
| 435 | :options '(auto-insert) | 435 | :options '(auto-insert) |
| 436 | :version "22.1") | 436 | :version "22.1") |
| 437 | 437 | ||
| 438 | (define-obsolete-variable-alias 'write-file-hooks 'write-file-functions "22.1") | ||
| 438 | (defvar write-file-functions nil | 439 | (defvar write-file-functions nil |
| 439 | "List of functions to be called before writing out a buffer to a file. | 440 | "List of functions to be called before writing out a buffer to a file. |
| 440 | If one of them returns non-nil, the file is considered already written | 441 | If one of them returns non-nil, the file is considered already written |
| @@ -451,13 +452,14 @@ coding system and setting mode bits. (See Info | |||
| 451 | node `(elisp)Saving Buffers'.) To perform various checks or | 452 | node `(elisp)Saving Buffers'.) To perform various checks or |
| 452 | updates before the buffer is saved, use `before-save-hook'.") | 453 | updates before the buffer is saved, use `before-save-hook'.") |
| 453 | (put 'write-file-functions 'permanent-local t) | 454 | (put 'write-file-functions 'permanent-local t) |
| 454 | (define-obsolete-variable-alias 'write-file-hooks 'write-file-functions "22.1") | ||
| 455 | 455 | ||
| 456 | (defvar local-write-file-hooks nil) | 456 | (defvar local-write-file-hooks nil) |
| 457 | (make-variable-buffer-local 'local-write-file-hooks) | 457 | (make-variable-buffer-local 'local-write-file-hooks) |
| 458 | (put 'local-write-file-hooks 'permanent-local t) | 458 | (put 'local-write-file-hooks 'permanent-local t) |
| 459 | (make-obsolete-variable 'local-write-file-hooks 'write-file-functions "22.1") | 459 | (make-obsolete-variable 'local-write-file-hooks 'write-file-functions "22.1") |
| 460 | 460 | ||
| 461 | (define-obsolete-variable-alias 'write-contents-hooks | ||
| 462 | 'write-contents-functions "22.1") | ||
| 461 | (defvar write-contents-functions nil | 463 | (defvar write-contents-functions nil |
| 462 | "List of functions to be called before writing out a buffer to a file. | 464 | "List of functions to be called before writing out a buffer to a file. |
| 463 | If one of them returns non-nil, the file is considered already written | 465 | If one of them returns non-nil, the file is considered already written |
| @@ -475,8 +477,6 @@ For hooks that _do_ pertain to the particular visited file, use | |||
| 475 | To perform various checks or updates before the buffer is saved, | 477 | To perform various checks or updates before the buffer is saved, |
| 476 | use `before-save-hook'.") | 478 | use `before-save-hook'.") |
| 477 | (make-variable-buffer-local 'write-contents-functions) | 479 | (make-variable-buffer-local 'write-contents-functions) |
| 478 | (define-obsolete-variable-alias 'write-contents-hooks | ||
| 479 | 'write-contents-functions "22.1") | ||
| 480 | 480 | ||
| 481 | (defcustom enable-local-variables t | 481 | (defcustom enable-local-variables t |
| 482 | "Control use of local variables in files you visit. | 482 | "Control use of local variables in files you visit. |
diff --git a/lisp/frame.el b/lisp/frame.el index 1ee9d966ef1..5e380cd8fc6 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -1612,6 +1612,8 @@ itself as a pre-command hook." | |||
| 1612 | (cancel-timer blink-cursor-timer) | 1612 | (cancel-timer blink-cursor-timer) |
| 1613 | (setq blink-cursor-timer nil))) | 1613 | (setq blink-cursor-timer nil))) |
| 1614 | 1614 | ||
| 1615 | (define-obsolete-variable-alias 'blink-cursor 'blink-cursor-mode "22.1") | ||
| 1616 | |||
| 1615 | (define-minor-mode blink-cursor-mode | 1617 | (define-minor-mode blink-cursor-mode |
| 1616 | "Toggle cursor blinking (Blink Cursor mode). | 1618 | "Toggle cursor blinking (Blink Cursor mode). |
| 1617 | With a prefix argument ARG, enable Blink Cursor mode if ARG is | 1619 | With a prefix argument ARG, enable Blink Cursor mode if ARG is |
| @@ -1638,8 +1640,6 @@ terminals, cursor blinking is controlled by the terminal." | |||
| 1638 | blink-cursor-delay | 1640 | blink-cursor-delay |
| 1639 | 'blink-cursor-start)))) | 1641 | 'blink-cursor-start)))) |
| 1640 | 1642 | ||
| 1641 | (define-obsolete-variable-alias 'blink-cursor 'blink-cursor-mode "22.1") | ||
| 1642 | |||
| 1643 | 1643 | ||
| 1644 | ;;;; Key bindings | 1644 | ;;;; Key bindings |
| 1645 | 1645 | ||
| @@ -1652,7 +1652,8 @@ terminals, cursor blinking is controlled by the terminal." | |||
| 1652 | ;; Misc. | 1652 | ;; Misc. |
| 1653 | 1653 | ||
| 1654 | ;; Only marked as obsolete in 24.2. | 1654 | ;; Only marked as obsolete in 24.2. |
| 1655 | (define-obsolete-variable-alias 'automatic-hscrolling 'auto-hscroll-mode "22.1") | 1655 | (define-obsolete-variable-alias 'automatic-hscrolling |
| 1656 | 'auto-hscroll-mode "22.1") | ||
| 1656 | 1657 | ||
| 1657 | (make-variable-buffer-local 'show-trailing-whitespace) | 1658 | (make-variable-buffer-local 'show-trailing-whitespace) |
| 1658 | 1659 | ||
diff --git a/lisp/loadhist.el b/lisp/loadhist.el index d747eb13b79..d5099340a17 100644 --- a/lisp/loadhist.el +++ b/lisp/loadhist.el | |||
| @@ -143,13 +143,13 @@ These are symbols with hooklike values whose names don't end in | |||
| 143 | `-hook' or `-hooks', from which `unload-feature' should try to remove | 143 | `-hook' or `-hooks', from which `unload-feature' should try to remove |
| 144 | pertinent symbols.") | 144 | pertinent symbols.") |
| 145 | 145 | ||
| 146 | (define-obsolete-variable-alias 'unload-hook-features-list | ||
| 147 | 'unload-function-defs-list "22.2") | ||
| 146 | (defvar unload-function-defs-list nil | 148 | (defvar unload-function-defs-list nil |
| 147 | "List of definitions in the Lisp library being unloaded. | 149 | "List of definitions in the Lisp library being unloaded. |
| 148 | 150 | ||
| 149 | This is meant to be used by `FEATURE-unload-function'; see the | 151 | This is meant to be used by `FEATURE-unload-function'; see the |
| 150 | documentation of `unload-feature' for details.") | 152 | documentation of `unload-feature' for details.") |
| 151 | (define-obsolete-variable-alias 'unload-hook-features-list | ||
| 152 | 'unload-function-defs-list "22.2") | ||
| 153 | 153 | ||
| 154 | (defun unload--set-major-mode () | 154 | (defun unload--set-major-mode () |
| 155 | (save-current-buffer | 155 | (save-current-buffer |
diff --git a/lisp/novice.el b/lisp/novice.el index a5d38a3a57f..fa41b2bbc1e 100644 --- a/lisp/novice.el +++ b/lisp/novice.el | |||
| @@ -36,13 +36,13 @@ | |||
| 36 | (eval-when-compile (require 'cl)) | 36 | (eval-when-compile (require 'cl)) |
| 37 | 37 | ||
| 38 | ;;;###autoload | 38 | ;;;###autoload |
| 39 | (define-obsolete-variable-alias 'disabled-command-hook | ||
| 40 | 'disabled-command-function "22.1") | ||
| 41 | ;;;###autoload | ||
| 39 | (defvar disabled-command-function 'disabled-command-function | 42 | (defvar disabled-command-function 'disabled-command-function |
| 40 | "Function to call to handle disabled commands. | 43 | "Function to call to handle disabled commands. |
| 41 | If nil, the feature is disabled, i.e., all commands work normally.") | 44 | If nil, the feature is disabled, i.e., all commands work normally.") |
| 42 | 45 | ||
| 43 | ;;;###autoload | ||
| 44 | (define-obsolete-variable-alias 'disabled-command-hook 'disabled-command-function "22.1") | ||
| 45 | |||
| 46 | ;; It is ok here to assume that this-command is a symbol | 46 | ;; It is ok here to assume that this-command is a symbol |
| 47 | ;; because we won't get called otherwise. | 47 | ;; because we won't get called otherwise. |
| 48 | ;;;###autoload | 48 | ;;;###autoload |
diff --git a/lisp/progmodes/meta-mode.el b/lisp/progmodes/meta-mode.el index d0432f58d60..9978ee62687 100644 --- a/lisp/progmodes/meta-mode.el +++ b/lisp/progmodes/meta-mode.el | |||
| @@ -829,6 +829,7 @@ The environment marked is the one that contains point or follows point." | |||
| 829 | st) | 829 | st) |
| 830 | "Syntax table used in Metafont or MetaPost mode.") | 830 | "Syntax table used in Metafont or MetaPost mode.") |
| 831 | 831 | ||
| 832 | (define-obsolete-variable-alias 'meta-mode-map 'meta-common-mode-map "24.1") | ||
| 832 | (defvar meta-common-mode-map | 833 | (defvar meta-common-mode-map |
| 833 | (let ((map (make-sparse-keymap))) | 834 | (let ((map (make-sparse-keymap))) |
| 834 | ;; Comment Paragraphs: | 835 | ;; Comment Paragraphs: |
| @@ -858,7 +859,6 @@ The environment marked is the one that contains point or follows point." | |||
| 858 | ;; (define-key map "\C-c\C-l" 'meta-recenter-output) | 859 | ;; (define-key map "\C-c\C-l" 'meta-recenter-output) |
| 859 | map) | 860 | map) |
| 860 | "Keymap used in Metafont or MetaPost mode.") | 861 | "Keymap used in Metafont or MetaPost mode.") |
| 861 | (define-obsolete-variable-alias 'meta-mode-map 'meta-common-mode-map "24.1") | ||
| 862 | 862 | ||
| 863 | (easy-menu-define | 863 | (easy-menu-define |
| 864 | meta-mode-menu meta-common-mode-map | 864 | meta-mode-menu meta-common-mode-map |
diff --git a/lisp/speedbar.el b/lisp/speedbar.el index c1e86e17e37..28879fed30b 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el | |||
| @@ -774,6 +774,8 @@ If you want to change this while speedbar is active, either use | |||
| 774 | (defvar speedbar-update-flag-disable nil | 774 | (defvar speedbar-update-flag-disable nil |
| 775 | "Permanently disable changing of the update flag.") | 775 | "Permanently disable changing of the update flag.") |
| 776 | 776 | ||
| 777 | (define-obsolete-variable-alias | ||
| 778 | 'speedbar-syntax-table 'speedbar-mode-syntax-table "24.1") | ||
| 777 | (defvar speedbar-mode-syntax-table | 779 | (defvar speedbar-mode-syntax-table |
| 778 | (let ((st (make-syntax-table))) | 780 | (let ((st (make-syntax-table))) |
| 779 | ;; Turn off paren matching around here. | 781 | ;; Turn off paren matching around here. |
| @@ -787,10 +789,9 @@ If you want to change this while speedbar is active, either use | |||
| 787 | (modify-syntax-entry ?\] " " st) | 789 | (modify-syntax-entry ?\] " " st) |
| 788 | st) | 790 | st) |
| 789 | "Syntax-table used on the speedbar.") | 791 | "Syntax-table used on the speedbar.") |
| 790 | (define-obsolete-variable-alias | ||
| 791 | 'speedbar-syntax-table 'speedbar-mode-syntax-table "24.1") | ||
| 792 | 792 | ||
| 793 | 793 | ||
| 794 | (define-obsolete-variable-alias 'speedbar-key-map 'speedbar-mode-map "24.1") | ||
| 794 | (defvar speedbar-mode-map | 795 | (defvar speedbar-mode-map |
| 795 | (let ((map (make-keymap))) | 796 | (let ((map (make-keymap))) |
| 796 | (suppress-keymap map t) | 797 | (suppress-keymap map t) |
| @@ -825,7 +826,6 @@ If you want to change this while speedbar is active, either use | |||
| 825 | (dframe-update-keymap map) | 826 | (dframe-update-keymap map) |
| 826 | map) | 827 | map) |
| 827 | "Keymap used in speedbar buffer.") | 828 | "Keymap used in speedbar buffer.") |
| 828 | (define-obsolete-variable-alias 'speedbar-key-map 'speedbar-mode-map "24.1") | ||
| 829 | 829 | ||
| 830 | (defun speedbar-make-specialized-keymap () | 830 | (defun speedbar-make-specialized-keymap () |
| 831 | "Create a keymap for use with a speedbar major or minor display mode. | 831 | "Create a keymap for use with a speedbar major or minor display mode. |
diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el index fdcbf8b0b43..2d395fe3df2 100644 --- a/lisp/textmodes/reftex-index.el +++ b/lisp/textmodes/reftex-index.el | |||
| @@ -274,6 +274,8 @@ will prompt for other arguments." | |||
| 274 | (and newtag (cdr cell) (not (member newtag (cdr cell))) | 274 | (and newtag (cdr cell) (not (member newtag (cdr cell))) |
| 275 | (push newtag (cdr cell))))) | 275 | (push newtag (cdr cell))))) |
| 276 | 276 | ||
| 277 | (define-obsolete-variable-alias | ||
| 278 | 'reftex-index-map 'reftex-index-mode-map "24.1") | ||
| 277 | (defvar reftex-index-mode-map | 279 | (defvar reftex-index-mode-map |
| 278 | (let ((map (make-sparse-keymap))) | 280 | (let ((map (make-sparse-keymap))) |
| 279 | ;; Index map | 281 | ;; Index map |
| @@ -377,8 +379,6 @@ will prompt for other arguments." | |||
| 377 | 379 | ||
| 378 | map) | 380 | map) |
| 379 | "Keymap used for *Index* buffers.") | 381 | "Keymap used for *Index* buffers.") |
| 380 | (define-obsolete-variable-alias | ||
| 381 | 'reftex-index-map 'reftex-index-mode-map "24.1") | ||
| 382 | 382 | ||
| 383 | (defvar reftex-index-menu) | 383 | (defvar reftex-index-menu) |
| 384 | 384 | ||
| @@ -1179,6 +1179,8 @@ This gets refreshed in every phrases command.") | |||
| 1179 | "Font lock keywords for reftex-index-phrases-mode.") | 1179 | "Font lock keywords for reftex-index-phrases-mode.") |
| 1180 | (defvar reftex-index-phrases-font-lock-defaults nil | 1180 | (defvar reftex-index-phrases-font-lock-defaults nil |
| 1181 | "Font lock defaults for reftex-index-phrases-mode.") | 1181 | "Font lock defaults for reftex-index-phrases-mode.") |
| 1182 | (define-obsolete-variable-alias | ||
| 1183 | 'reftex-index-phrases-map 'reftex-index-phrases-mode-map "24.1") | ||
| 1182 | (defvar reftex-index-phrases-mode-map | 1184 | (defvar reftex-index-phrases-mode-map |
| 1183 | (let ((map (make-sparse-keymap))) | 1185 | (let ((map (make-sparse-keymap))) |
| 1184 | ;; Keybindings and Menu for phrases buffer | 1186 | ;; Keybindings and Menu for phrases buffer |
| @@ -1244,8 +1246,6 @@ This gets refreshed in every phrases command.") | |||
| 1244 | 1246 | ||
| 1245 | map) | 1247 | map) |
| 1246 | "Keymap used for *toc* buffer.") | 1248 | "Keymap used for *toc* buffer.") |
| 1247 | (define-obsolete-variable-alias | ||
| 1248 | 'reftex-index-phrases-map 'reftex-index-phrases-mode-map "24.1") | ||
| 1249 | 1249 | ||
| 1250 | 1250 | ||
| 1251 | (defun reftex-index-phrase-selection-or-word (arg) | 1251 | (defun reftex-index-phrase-selection-or-word (arg) |
diff --git a/lisp/textmodes/reftex-sel.el b/lisp/textmodes/reftex-sel.el index c583b67f13a..627dfba0071 100644 --- a/lisp/textmodes/reftex-sel.el +++ b/lisp/textmodes/reftex-sel.el | |||
| @@ -71,6 +71,8 @@ | |||
| 71 | (define-key map "-" 'negative-argument) | 71 | (define-key map "-" 'negative-argument) |
| 72 | map)) | 72 | map)) |
| 73 | 73 | ||
| 74 | (define-obsolete-variable-alias | ||
| 75 | 'reftex-select-label-map 'reftex-select-label-mode-map "24.1") | ||
| 74 | (defvar reftex-select-label-mode-map | 76 | (defvar reftex-select-label-mode-map |
| 75 | (let ((map (make-sparse-keymap))) | 77 | (let ((map (make-sparse-keymap))) |
| 76 | (set-keymap-parent map reftex-select-shared-map) | 78 | (set-keymap-parent map reftex-select-shared-map) |
| @@ -102,8 +104,6 @@ | |||
| 102 | "Keymap used for *RefTeX Select* buffer, when selecting a label. | 104 | "Keymap used for *RefTeX Select* buffer, when selecting a label. |
| 103 | This keymap can be used to configure the label selection process which is | 105 | This keymap can be used to configure the label selection process which is |
| 104 | started with the command \\[reftex-reference].") | 106 | started with the command \\[reftex-reference].") |
| 105 | (define-obsolete-variable-alias | ||
| 106 | 'reftex-select-label-map 'reftex-select-label-mode-map "24.1") | ||
| 107 | 107 | ||
| 108 | (define-derived-mode reftex-select-label-mode fundamental-mode "LSelect" | 108 | (define-derived-mode reftex-select-label-mode fundamental-mode "LSelect" |
| 109 | "Major mode for selecting a label in a LaTeX document. | 109 | "Major mode for selecting a label in a LaTeX document. |
| @@ -126,6 +126,8 @@ During a selection process, these are the local bindings. | |||
| 126 | ;; We do not set a local map - reftex-select-item does this. | 126 | ;; We do not set a local map - reftex-select-item does this. |
| 127 | ) | 127 | ) |
| 128 | 128 | ||
| 129 | (define-obsolete-variable-alias | ||
| 130 | 'reftex-select-bib-map 'reftex-select-bib-mode-map "24.1") | ||
| 129 | (defvar reftex-select-bib-mode-map | 131 | (defvar reftex-select-bib-mode-map |
| 130 | (let ((map (make-sparse-keymap))) | 132 | (let ((map (make-sparse-keymap))) |
| 131 | (set-keymap-parent map reftex-select-shared-map) | 133 | (set-keymap-parent map reftex-select-shared-map) |
| @@ -147,8 +149,6 @@ During a selection process, these are the local bindings. | |||
| 147 | "Keymap used for *RefTeX Select* buffer, when selecting a BibTeX entry. | 149 | "Keymap used for *RefTeX Select* buffer, when selecting a BibTeX entry. |
| 148 | This keymap can be used to configure the BibTeX selection process which is | 150 | This keymap can be used to configure the BibTeX selection process which is |
| 149 | started with the command \\[reftex-citation].") | 151 | started with the command \\[reftex-citation].") |
| 150 | (define-obsolete-variable-alias | ||
| 151 | 'reftex-select-bib-map 'reftex-select-bib-mode-map "24.1") | ||
| 152 | 152 | ||
| 153 | (define-derived-mode reftex-select-bib-mode fundamental-mode "BSelect" | 153 | (define-derived-mode reftex-select-bib-mode fundamental-mode "BSelect" |
| 154 | "Major mode for selecting a citation key in a LaTeX document. | 154 | "Major mode for selecting a citation key in a LaTeX document. |
diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el index 5d293d404e6..519236a3621 100644 --- a/lisp/textmodes/reftex-toc.el +++ b/lisp/textmodes/reftex-toc.el | |||
| @@ -31,6 +31,7 @@ | |||
| 31 | (require 'reftex) | 31 | (require 'reftex) |
| 32 | ;;; | 32 | ;;; |
| 33 | 33 | ||
| 34 | (define-obsolete-variable-alias 'reftex-toc-map 'reftex-toc-mode-map "24.1") | ||
| 34 | (defvar reftex-toc-mode-map | 35 | (defvar reftex-toc-mode-map |
| 35 | (let ((map (make-sparse-keymap))) | 36 | (let ((map (make-sparse-keymap))) |
| 36 | 37 | ||
| @@ -122,7 +123,6 @@ | |||
| 122 | 123 | ||
| 123 | map) | 124 | map) |
| 124 | "Keymap used for *toc* buffer.") | 125 | "Keymap used for *toc* buffer.") |
| 125 | (define-obsolete-variable-alias 'reftex-toc-map 'reftex-toc-mode-map "24.1") | ||
| 126 | 126 | ||
| 127 | (defvar reftex-toc-menu) | 127 | (defvar reftex-toc-menu) |
| 128 | (defvar reftex-last-window-height nil) | 128 | (defvar reftex-last-window-height nil) |
diff --git a/lisp/tooltip.el b/lisp/tooltip.el index 1fab25fe5cd..9d0fbaae9d8 100644 --- a/lisp/tooltip.el +++ b/lisp/tooltip.el | |||
| @@ -154,6 +154,8 @@ This variable is obsolete; instead of setting it to t, disable | |||
| 154 | 154 | ||
| 155 | ;;; Variables that are not customizable. | 155 | ;;; Variables that are not customizable. |
| 156 | 156 | ||
| 157 | (define-obsolete-variable-alias 'tooltip-hook 'tooltip-functions "23.1") | ||
| 158 | |||
| 157 | (defvar tooltip-functions nil | 159 | (defvar tooltip-functions nil |
| 158 | "Functions to call to display tooltips. | 160 | "Functions to call to display tooltips. |
| 159 | Each function is called with one argument EVENT which is a copy | 161 | Each function is called with one argument EVENT which is a copy |
| @@ -161,8 +163,6 @@ of the last mouse movement event that occurred. If one of these | |||
| 161 | functions displays the tooltip, it should return non-nil and the | 163 | functions displays the tooltip, it should return non-nil and the |
| 162 | rest are not called.") | 164 | rest are not called.") |
| 163 | 165 | ||
| 164 | (define-obsolete-variable-alias 'tooltip-hook 'tooltip-functions "23.1") | ||
| 165 | |||
| 166 | (defvar tooltip-timeout-id nil | 166 | (defvar tooltip-timeout-id nil |
| 167 | "The id of the timeout started when Emacs becomes idle.") | 167 | "The id of the timeout started when Emacs becomes idle.") |
| 168 | 168 | ||
diff --git a/lisp/vc/log-edit.el b/lisp/vc/log-edit.el index 2abb1ec9c0a..5ecd5c44b2e 100644 --- a/lisp/vc/log-edit.el +++ b/lisp/vc/log-edit.el | |||
| @@ -195,7 +195,10 @@ when this variable is set to nil.") | |||
| 195 | 195 | ||
| 196 | (defconst log-edit-maximum-comment-ring-size 32 | 196 | (defconst log-edit-maximum-comment-ring-size 32 |
| 197 | "Maximum number of saved comments in the comment ring.") | 197 | "Maximum number of saved comments in the comment ring.") |
| 198 | (define-obsolete-variable-alias 'vc-comment-ring 'log-edit-comment-ring "22.1") | ||
| 198 | (defvar log-edit-comment-ring (make-ring log-edit-maximum-comment-ring-size)) | 199 | (defvar log-edit-comment-ring (make-ring log-edit-maximum-comment-ring-size)) |
| 200 | (define-obsolete-variable-alias 'vc-comment-ring-index | ||
| 201 | 'log-edit-comment-ring-index "22.1") | ||
| 199 | (defvar log-edit-comment-ring-index nil) | 202 | (defvar log-edit-comment-ring-index nil) |
| 200 | (defvar log-edit-last-comment-match "") | 203 | (defvar log-edit-last-comment-match "") |
| 201 | 204 | ||
| @@ -301,8 +304,6 @@ automatically." | |||
| 301 | (insert "\n")))) | 304 | (insert "\n")))) |
| 302 | 305 | ||
| 303 | ;; Compatibility with old names. | 306 | ;; Compatibility with old names. |
| 304 | (define-obsolete-variable-alias 'vc-comment-ring 'log-edit-comment-ring "22.1") | ||
| 305 | (define-obsolete-variable-alias 'vc-comment-ring-index 'log-edit-comment-ring-index "22.1") | ||
| 306 | (define-obsolete-function-alias 'vc-previous-comment 'log-edit-previous-comment "22.1") | 307 | (define-obsolete-function-alias 'vc-previous-comment 'log-edit-previous-comment "22.1") |
| 307 | (define-obsolete-function-alias 'vc-next-comment 'log-edit-next-comment "22.1") | 308 | (define-obsolete-function-alias 'vc-next-comment 'log-edit-next-comment "22.1") |
| 308 | (define-obsolete-function-alias 'vc-comment-search-reverse 'log-edit-comment-search-backward "22.1") | 309 | (define-obsolete-function-alias 'vc-comment-search-reverse 'log-edit-comment-search-backward "22.1") |