mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
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.
This commit is contained in:
parent
9e6b06ed73
commit
e5bd0a2895
24 changed files with 103 additions and 75 deletions
|
|
@ -1405,15 +1405,17 @@ their settings before allout-mode was started."
|
|||
(defvar allout-mode-hook nil
|
||||
"Hook run when allout mode starts.")
|
||||
;;;_ = allout-mode-deactivate-hook
|
||||
(defvar allout-mode-deactivate-hook nil
|
||||
"Hook run when allout mode ends.")
|
||||
(define-obsolete-variable-alias 'allout-mode-deactivate-hook
|
||||
'allout-mode-off-hook "24.1")
|
||||
(defvar allout-mode-deactivate-hook nil
|
||||
"Hook run when allout mode ends.")
|
||||
;;;_ = allout-exposure-category
|
||||
(defvar allout-exposure-category nil
|
||||
"Symbol for use as allout invisible-text overlay category.")
|
||||
|
||||
;;;_ = allout-exposure-change-functions
|
||||
(define-obsolete-variable-alias 'allout-exposure-change-hook
|
||||
'allout-exposure-change-functions "24.2")
|
||||
(defcustom allout-exposure-change-functions nil
|
||||
"Abnormal hook run after allout outline subtree exposure changes.
|
||||
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."
|
|||
:group 'allout
|
||||
:version "24.2")
|
||||
|
||||
(define-obsolete-variable-alias 'allout-exposure-change-hook
|
||||
'allout-exposure-change-functions "24.2")
|
||||
|
||||
;;;_ = allout-structure-added-functions
|
||||
(define-obsolete-variable-alias 'allout-structure-added-hook
|
||||
'allout-structure-added-functions "24.2")
|
||||
(defcustom allout-structure-added-functions nil
|
||||
"Abnormal hook run after adding items to an Allout outline.
|
||||
Functions on the hook should take two arguments:
|
||||
|
|
@ -1445,10 +1446,9 @@ This hook might be invoked multiple times by a single command."
|
|||
:group 'allout
|
||||
:version "24.2")
|
||||
|
||||
(define-obsolete-variable-alias 'allout-structure-added-hook
|
||||
'allout-structure-added-functions "24.2")
|
||||
|
||||
;;;_ = allout-structure-deleted-functions
|
||||
(define-obsolete-variable-alias 'allout-structure-deleted-hook
|
||||
'allout-structure-deleted-functions "24.2")
|
||||
(defcustom allout-structure-deleted-functions nil
|
||||
"Abnormal hook run after deleting subtrees from an Allout outline.
|
||||
Functions on the hook must take two arguments:
|
||||
|
|
@ -1464,10 +1464,9 @@ This hook might be invoked multiple times by a single command."
|
|||
:group 'allout
|
||||
:version "24.2")
|
||||
|
||||
(define-obsolete-variable-alias 'allout-structure-deleted-hook
|
||||
'allout-structure-deleted-functions "24.2")
|
||||
|
||||
;;;_ = allout-structure-shifted-functions
|
||||
(define-obsolete-variable-alias 'allout-structure-shifted-hook
|
||||
'allout-structure-shifted-functions "24.2")
|
||||
(defcustom allout-structure-shifted-functions nil
|
||||
"Abnormal hook run after shifting items in an Allout outline.
|
||||
Functions on the hook should take two arguments:
|
||||
|
|
@ -1483,9 +1482,6 @@ This hook might be invoked multiple times by a single command."
|
|||
:group 'allout
|
||||
:version "24.2")
|
||||
|
||||
(define-obsolete-variable-alias 'allout-structure-shifted-hook
|
||||
'allout-structure-shifted-functions "24.2")
|
||||
|
||||
;;;_ = allout-after-copy-or-kill-hook
|
||||
(defcustom allout-after-copy-or-kill-hook nil
|
||||
"Normal hook run after copying outline text.."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue