diff options
| -rw-r--r-- | lisp/abbrev.el | 4 | ||||
| -rw-r--r-- | lisp/calendar/timeclock.el | 5 | ||||
| -rw-r--r-- | lisp/cedet/semantic/db-mode.el | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/edebug.el | 6 | ||||
| -rw-r--r-- | lisp/emacs-lisp/warnings.el | 4 | ||||
| -rw-r--r-- | lisp/emacs-lock.el | 6 | ||||
| -rw-r--r-- | lisp/erc/erc-dcc.el | 6 | ||||
| -rw-r--r-- | lisp/gnus/nnspool.el | 4 | ||||
| -rw-r--r-- | lisp/htmlfontify.el | 2 | ||||
| -rw-r--r-- | lisp/ielm.el | 4 | ||||
| -rw-r--r-- | lisp/isearch.el | 2 | ||||
| -rw-r--r-- | lisp/org/org-agenda.el | 16 | ||||
| -rw-r--r-- | lisp/org/org.el | 13 | ||||
| -rw-r--r-- | lisp/progmodes/flymake-proc.el | 10 | ||||
| -rw-r--r-- | lisp/progmodes/make-mode.el | 5 | ||||
| -rw-r--r-- | lisp/progmodes/octave.el | 6 | ||||
| -rw-r--r-- | lisp/progmodes/python.el | 12 | ||||
| -rw-r--r-- | lisp/progmodes/sql.el | 3 | ||||
| -rw-r--r-- | lisp/select.el | 8 | ||||
| -rw-r--r-- | lisp/shell.el | 3 | ||||
| -rw-r--r-- | lisp/skeleton.el | 4 | ||||
| -rw-r--r-- | lisp/startup.el | 6 | ||||
| -rw-r--r-- | lisp/term/ns-win.el | 5 | ||||
| -rw-r--r-- | lisp/textmodes/artist.el | 3 | ||||
| -rw-r--r-- | lisp/textmodes/bibtex.el | 10 | ||||
| -rw-r--r-- | lisp/textmodes/flyspell.el | 6 | ||||
| -rw-r--r-- | lisp/textmodes/ispell.el | 3 | ||||
| -rw-r--r-- | lisp/textmodes/rst.el | 5 | ||||
| -rw-r--r-- | lisp/textmodes/sgml-mode.el | 3 | ||||
| -rw-r--r-- | lisp/window.el | 2 |
30 files changed, 93 insertions, 78 deletions
diff --git a/lisp/abbrev.el b/lisp/abbrev.el index 197276cc9ce..fd2f36e1980 100644 --- a/lisp/abbrev.el +++ b/lisp/abbrev.el | |||
| @@ -68,6 +68,8 @@ be replaced by its expansion." | |||
| 68 | (put 'abbrev-mode 'safe-local-variable 'booleanp) | 68 | (put 'abbrev-mode 'safe-local-variable 'booleanp) |
| 69 | 69 | ||
| 70 | 70 | ||
| 71 | (define-obsolete-variable-alias 'edit-abbrevs-map | ||
| 72 | 'edit-abbrevs-mode-map "24.4") | ||
| 71 | (defvar edit-abbrevs-mode-map | 73 | (defvar edit-abbrevs-mode-map |
| 72 | (let ((map (make-sparse-keymap))) | 74 | (let ((map (make-sparse-keymap))) |
| 73 | (define-key map "\C-x\C-s" 'abbrev-edit-save-buffer) | 75 | (define-key map "\C-x\C-s" 'abbrev-edit-save-buffer) |
| @@ -75,8 +77,6 @@ be replaced by its expansion." | |||
| 75 | (define-key map "\C-c\C-c" 'edit-abbrevs-redefine) | 77 | (define-key map "\C-c\C-c" 'edit-abbrevs-redefine) |
| 76 | map) | 78 | map) |
| 77 | "Keymap used in `edit-abbrevs'.") | 79 | "Keymap used in `edit-abbrevs'.") |
| 78 | (define-obsolete-variable-alias 'edit-abbrevs-map | ||
| 79 | 'edit-abbrevs-mode-map "24.4") | ||
| 80 | 80 | ||
| 81 | (defun kill-all-abbrevs () | 81 | (defun kill-all-abbrevs () |
| 82 | "Undefine all defined abbrevs." | 82 | "Undefine all defined abbrevs." |
diff --git a/lisp/calendar/timeclock.el b/lisp/calendar/timeclock.el index 3b96d427023..b46e7732fd3 100644 --- a/lisp/calendar/timeclock.el +++ b/lisp/calendar/timeclock.el | |||
| @@ -144,6 +144,9 @@ This variable only has effect if set with \\[customize]." | |||
| 144 | (defvar timeclock-update-timer nil | 144 | (defvar timeclock-update-timer nil |
| 145 | "The timer used to update `timeclock-mode-string'.") | 145 | "The timer used to update `timeclock-mode-string'.") |
| 146 | 146 | ||
| 147 | (define-obsolete-variable-alias 'timeclock-modeline-display | ||
| 148 | 'timeclock-mode-line-display "24.3") | ||
| 149 | |||
| 147 | ;; For byte-compiler. | 150 | ;; For byte-compiler. |
| 148 | (defvar display-time-hook) | 151 | (defvar display-time-hook) |
| 149 | (defvar timeclock-mode-line-display) | 152 | (defvar timeclock-mode-line-display) |
| @@ -271,8 +274,6 @@ The time is bracketed by <> if you are clocked in, otherwise by [].") | |||
| 271 | 274 | ||
| 272 | (define-obsolete-function-alias 'timeclock-modeline-display | 275 | (define-obsolete-function-alias 'timeclock-modeline-display |
| 273 | 'timeclock-mode-line-display "24.3") | 276 | 'timeclock-mode-line-display "24.3") |
| 274 | (define-obsolete-variable-alias 'timeclock-modeline-display | ||
| 275 | 'timeclock-mode-line-display "24.3") | ||
| 276 | 277 | ||
| 277 | ;;;###autoload | 278 | ;;;###autoload |
| 278 | (define-minor-mode timeclock-mode-line-display | 279 | (define-minor-mode timeclock-mode-line-display |
diff --git a/lisp/cedet/semantic/db-mode.el b/lisp/cedet/semantic/db-mode.el index 8a136132b7e..e6a2340b8c2 100644 --- a/lisp/cedet/semantic/db-mode.el +++ b/lisp/cedet/semantic/db-mode.el | |||
| @@ -50,6 +50,9 @@ | |||
| 50 | (member (car (car semanticdb-hooks)) | 50 | (member (car (car semanticdb-hooks)) |
| 51 | (symbol-value (car (cdr (car semanticdb-hooks)))))) | 51 | (symbol-value (car (cdr (car semanticdb-hooks)))))) |
| 52 | 52 | ||
| 53 | (defvaralias 'semanticdb-mode-hook 'global-semanticdb-minor-mode-hook) | ||
| 54 | (defvaralias 'semanticdb-global-mode 'global-semanticdb-minor-mode) | ||
| 55 | |||
| 53 | ;;;###autoload | 56 | ;;;###autoload |
| 54 | (define-minor-mode global-semanticdb-minor-mode | 57 | (define-minor-mode global-semanticdb-minor-mode |
| 55 | "Toggle Semantic DB mode. | 58 | "Toggle Semantic DB mode. |
| @@ -67,8 +70,6 @@ database, which can be saved for future Emacs sessions." | |||
| 67 | (dolist (elt semanticdb-hooks) | 70 | (dolist (elt semanticdb-hooks) |
| 68 | (remove-hook (cadr elt) (car elt))))) | 71 | (remove-hook (cadr elt) (car elt))))) |
| 69 | 72 | ||
| 70 | (defvaralias 'semanticdb-mode-hook 'global-semanticdb-minor-mode-hook) | ||
| 71 | (defvaralias 'semanticdb-global-mode 'global-semanticdb-minor-mode) | ||
| 72 | (semantic-varalias-obsolete 'semanticdb-mode-hooks | 73 | (semantic-varalias-obsolete 'semanticdb-mode-hooks |
| 73 | 'global-semanticdb-minor-mode-hook "23.2") | 74 | 'global-semanticdb-minor-mode-hook "23.2") |
| 74 | 75 | ||
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 4f97712b980..e759c5b5b24 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el | |||
| @@ -3546,14 +3546,14 @@ This prints the value into current buffer." | |||
| 3546 | 3546 | ||
| 3547 | ;;; Edebug Minor Mode | 3547 | ;;; Edebug Minor Mode |
| 3548 | 3548 | ||
| 3549 | (define-obsolete-variable-alias 'gud-inhibit-global-bindings | ||
| 3550 | 'edebug-inhibit-emacs-lisp-mode-bindings "24.3") | ||
| 3551 | |||
| 3549 | (defvar edebug-inhibit-emacs-lisp-mode-bindings nil | 3552 | (defvar edebug-inhibit-emacs-lisp-mode-bindings nil |
| 3550 | "If non-nil, inhibit Edebug bindings on the C-x C-a key. | 3553 | "If non-nil, inhibit Edebug bindings on the C-x C-a key. |
| 3551 | By default, loading the `edebug' library causes these bindings to | 3554 | By default, loading the `edebug' library causes these bindings to |
| 3552 | be installed in `emacs-lisp-mode-map'.") | 3555 | be installed in `emacs-lisp-mode-map'.") |
| 3553 | 3556 | ||
| 3554 | (define-obsolete-variable-alias 'gud-inhibit-global-bindings | ||
| 3555 | 'edebug-inhibit-emacs-lisp-mode-bindings "24.3") | ||
| 3556 | |||
| 3557 | ;; Global GUD bindings for all emacs-lisp-mode buffers. | 3557 | ;; Global GUD bindings for all emacs-lisp-mode buffers. |
| 3558 | (unless edebug-inhibit-emacs-lisp-mode-bindings | 3558 | (unless edebug-inhibit-emacs-lisp-mode-bindings |
| 3559 | (define-key emacs-lisp-mode-map "\C-x\C-a\C-s" 'edebug-step-mode) | 3559 | (define-key emacs-lisp-mode-map "\C-x\C-a\C-s" 'edebug-step-mode) |
diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el index 489611d4d16..665733181cb 100644 --- a/lisp/emacs-lisp/warnings.el +++ b/lisp/emacs-lisp/warnings.el | |||
| @@ -68,6 +68,7 @@ Each element looks like (ALIAS . LEVEL) and defines ALIAS as | |||
| 68 | equivalent to LEVEL. LEVEL must be defined in `warning-levels'; | 68 | equivalent to LEVEL. LEVEL must be defined in `warning-levels'; |
| 69 | it may not itself be an alias.") | 69 | it may not itself be an alias.") |
| 70 | 70 | ||
| 71 | (defvaralias 'display-warning-minimum-level 'warning-minimum-level) | ||
| 71 | (defcustom warning-minimum-level :warning | 72 | (defcustom warning-minimum-level :warning |
| 72 | "Minimum severity level for displaying the warning buffer. | 73 | "Minimum severity level for displaying the warning buffer. |
| 73 | If a warning's severity level is lower than this, | 74 | If a warning's severity level is lower than this, |
| @@ -77,8 +78,8 @@ is not immediately displayed. See also `warning-minimum-log-level'." | |||
| 77 | :type '(choice (const :emergency) (const :error) | 78 | :type '(choice (const :emergency) (const :error) |
| 78 | (const :warning) (const :debug)) | 79 | (const :warning) (const :debug)) |
| 79 | :version "22.1") | 80 | :version "22.1") |
| 80 | (defvaralias 'display-warning-minimum-level 'warning-minimum-level) | ||
| 81 | 81 | ||
| 82 | (defvaralias 'log-warning-minimum-level 'warning-minimum-log-level) | ||
| 82 | (defcustom warning-minimum-log-level :warning | 83 | (defcustom warning-minimum-log-level :warning |
| 83 | "Minimum severity level for logging a warning. | 84 | "Minimum severity level for logging a warning. |
| 84 | If a warning severity level is lower than this, | 85 | If a warning severity level is lower than this, |
| @@ -89,7 +90,6 @@ because warnings not logged aren't displayed either." | |||
| 89 | :type '(choice (const :emergency) (const :error) | 90 | :type '(choice (const :emergency) (const :error) |
| 90 | (const :warning) (const :debug)) | 91 | (const :warning) (const :debug)) |
| 91 | :version "22.1") | 92 | :version "22.1") |
| 92 | (defvaralias 'log-warning-minimum-level 'warning-minimum-log-level) | ||
| 93 | 93 | ||
| 94 | (defcustom warning-suppress-log-types nil | 94 | (defcustom warning-suppress-log-types nil |
| 95 | "List of warning types that should not be logged. | 95 | "List of warning types that should not be logged. |
diff --git a/lisp/emacs-lock.el b/lisp/emacs-lock.el index 0a6fa9e6255..b6e28fb2530 100644 --- a/lisp/emacs-lock.el +++ b/lisp/emacs-lock.el | |||
| @@ -88,6 +88,9 @@ The functions get one argument, the first locked buffer found." | |||
| 88 | :group 'emacs-lock | 88 | :group 'emacs-lock |
| 89 | :version "24.3") | 89 | :version "24.3") |
| 90 | 90 | ||
| 91 | (define-obsolete-variable-alias 'emacs-lock-from-exiting | ||
| 92 | 'emacs-lock-mode "24.1") | ||
| 93 | |||
| 91 | (defvar-local emacs-lock-mode nil | 94 | (defvar-local emacs-lock-mode nil |
| 92 | "If non-nil, the current buffer is locked. | 95 | "If non-nil, the current buffer is locked. |
| 93 | It can be one of the following values: | 96 | It can be one of the following values: |
| @@ -182,9 +185,6 @@ Return a value appropriate for `kill-buffer-query-functions' (which see)." | |||
| 182 | ;; anything else (turn off) | 185 | ;; anything else (turn off) |
| 183 | mode)))) | 186 | mode)))) |
| 184 | 187 | ||
| 185 | (define-obsolete-variable-alias 'emacs-lock-from-exiting | ||
| 186 | 'emacs-lock-mode "24.1") | ||
| 187 | |||
| 188 | ;;;###autoload | 188 | ;;;###autoload |
| 189 | (define-minor-mode emacs-lock-mode | 189 | (define-minor-mode emacs-lock-mode |
| 190 | "Toggle Emacs Lock mode in the current buffer. | 190 | "Toggle Emacs Lock mode in the current buffer. |
diff --git a/lisp/erc/erc-dcc.el b/lisp/erc/erc-dcc.el index 5bc8c2f38b2..fdc209991aa 100644 --- a/lisp/erc/erc-dcc.el +++ b/lisp/erc/erc-dcc.el | |||
| @@ -1094,14 +1094,14 @@ Possible values are: ask, auto, ignore." | |||
| 1094 | (pcomplete-here '("auto" "ask" "ignore"))) | 1094 | (pcomplete-here '("auto" "ask" "ignore"))) |
| 1095 | (defalias 'pcomplete/erc-mode/SREQ 'pcomplete/erc-mode/CREQ) | 1095 | (defalias 'pcomplete/erc-mode/SREQ 'pcomplete/erc-mode/CREQ) |
| 1096 | 1096 | ||
| 1097 | (define-obsolete-variable-alias 'erc-dcc-chat-filter-hook | ||
| 1098 | 'erc-dcc-chat-filter-functions "24.3") | ||
| 1099 | |||
| 1097 | (defvar erc-dcc-chat-filter-functions '(erc-dcc-chat-parse-output) | 1100 | (defvar erc-dcc-chat-filter-functions '(erc-dcc-chat-parse-output) |
| 1098 | "Abnormal hook run after parsing (and maybe inserting) a DCC message. | 1101 | "Abnormal hook run after parsing (and maybe inserting) a DCC message. |
| 1099 | Each function is called with two arguments: the ERC process and | 1102 | Each function is called with two arguments: the ERC process and |
| 1100 | the unprocessed output.") | 1103 | the unprocessed output.") |
| 1101 | 1104 | ||
| 1102 | (define-obsolete-variable-alias 'erc-dcc-chat-filter-hook | ||
| 1103 | 'erc-dcc-chat-filter-functions "24.3") | ||
| 1104 | |||
| 1105 | (defvar erc-dcc-chat-mode-map | 1105 | (defvar erc-dcc-chat-mode-map |
| 1106 | (let ((map (make-sparse-keymap))) | 1106 | (let ((map (make-sparse-keymap))) |
| 1107 | (define-key map (kbd "RET") 'erc-send-current-line) | 1107 | (define-key map (kbd "RET") 'erc-send-current-line) |
diff --git a/lisp/gnus/nnspool.el b/lisp/gnus/nnspool.el index c4dc575dcd4..2f16b653924 100644 --- a/lisp/gnus/nnspool.el +++ b/lisp/gnus/nnspool.el | |||
| @@ -35,11 +35,11 @@ | |||
| 35 | ;; It's only used to init nnspool-spool-directory, so why not just | 35 | ;; It's only used to init nnspool-spool-directory, so why not just |
| 36 | ;; set that variable's default directly? | 36 | ;; set that variable's default directly? |
| 37 | (eval-and-compile | 37 | (eval-and-compile |
| 38 | (defvaralias 'news-path 'news-directory) | ||
| 38 | (defvar news-directory (if (file-exists-p "/usr/spool/news/") | 39 | (defvar news-directory (if (file-exists-p "/usr/spool/news/") |
| 39 | "/usr/spool/news/" | 40 | "/usr/spool/news/" |
| 40 | "/var/spool/news/") | 41 | "/var/spool/news/") |
| 41 | "The root directory below which all news files are stored.") | 42 | "The root directory below which all news files are stored.")) |
| 42 | (defvaralias 'news-path 'news-directory)) | ||
| 43 | 43 | ||
| 44 | ;; Ditto re obsolescence. | 44 | ;; Ditto re obsolescence. |
| 45 | (defvar news-inews-program | 45 | (defvar news-inews-program |
diff --git a/lisp/htmlfontify.el b/lisp/htmlfontify.el index 49a86c477d9..10cfca33700 100644 --- a/lisp/htmlfontify.el +++ b/lisp/htmlfontify.el | |||
| @@ -448,6 +448,7 @@ and so on." | |||
| 448 | (background (choice (const :tag "Dark" dark ) | 448 | (background (choice (const :tag "Dark" dark ) |
| 449 | (const :tag "Bright" light ))) )) | 449 | (const :tag "Bright" light ))) )) |
| 450 | 450 | ||
| 451 | (define-obsolete-variable-alias 'hfy-optimisations 'hfy-optimizations "25.1") | ||
| 451 | (defcustom hfy-optimizations (list 'keep-overlays) | 452 | (defcustom hfy-optimizations (list 'keep-overlays) |
| 452 | "Optimizations to turn on: So far, the following have been implemented:\n | 453 | "Optimizations to turn on: So far, the following have been implemented:\n |
| 453 | merge-adjacent-tags: If two (or more) span tags are adjacent, identical and | 454 | merge-adjacent-tags: If two (or more) span tags are adjacent, identical and |
| @@ -483,7 +484,6 @@ which can never slow you down, but may result in incomplete fontification." | |||
| 483 | (const :tag "body-text-only" body-text-only )) | 484 | (const :tag "body-text-only" body-text-only )) |
| 484 | :group 'htmlfontify | 485 | :group 'htmlfontify |
| 485 | :tag "optimizations") | 486 | :tag "optimizations") |
| 486 | (define-obsolete-variable-alias 'hfy-optimisations 'hfy-optimizations "25.1") | ||
| 487 | 487 | ||
| 488 | (defvar hfy-tags-cache nil | 488 | (defvar hfy-tags-cache nil |
| 489 | "Alist of the form:\n | 489 | "Alist of the form:\n |
diff --git a/lisp/ielm.el b/lisp/ielm.el index 59e333f19c1..b4ad69e4c72 100644 --- a/lisp/ielm.el +++ b/lisp/ielm.el | |||
| @@ -115,12 +115,12 @@ such as `edebug-defun' to work with such inputs." | |||
| 115 | :type 'boolean | 115 | :type 'boolean |
| 116 | :group 'ielm) | 116 | :group 'ielm) |
| 117 | 117 | ||
| 118 | (defvaralias 'inferior-emacs-lisp-mode-hook 'ielm-mode-hook) | ||
| 118 | (defcustom ielm-mode-hook nil | 119 | (defcustom ielm-mode-hook nil |
| 119 | "Hooks to be run when IELM (`inferior-emacs-lisp-mode') is started." | 120 | "Hooks to be run when IELM (`inferior-emacs-lisp-mode') is started." |
| 120 | :options '(eldoc-mode) | 121 | :options '(eldoc-mode) |
| 121 | :type 'hook | 122 | :type 'hook |
| 122 | :group 'ielm) | 123 | :group 'ielm) |
| 123 | (defvaralias 'inferior-emacs-lisp-mode-hook 'ielm-mode-hook) | ||
| 124 | 124 | ||
| 125 | (defvar * nil | 125 | (defvar * nil |
| 126 | "Most recent value evaluated in IELM.") | 126 | "Most recent value evaluated in IELM.") |
| @@ -165,6 +165,7 @@ This variable is buffer-local.") | |||
| 165 | "*** Welcome to IELM *** Type (describe-mode) for help.\n" | 165 | "*** Welcome to IELM *** Type (describe-mode) for help.\n" |
| 166 | "Message to display when IELM is started.") | 166 | "Message to display when IELM is started.") |
| 167 | 167 | ||
| 168 | (defvaralias 'inferior-emacs-lisp-mode-map 'ielm-map) | ||
| 168 | (defvar ielm-map | 169 | (defvar ielm-map |
| 169 | (let ((map (make-sparse-keymap))) | 170 | (let ((map (make-sparse-keymap))) |
| 170 | (define-key map "\t" 'ielm-tab) | 171 | (define-key map "\t" 'ielm-tab) |
| @@ -183,7 +184,6 @@ This variable is buffer-local.") | |||
| 183 | (define-key map "\C-c\C-v" 'ielm-print-working-buffer) | 184 | (define-key map "\C-c\C-v" 'ielm-print-working-buffer) |
| 184 | map) | 185 | map) |
| 185 | "Keymap for IELM mode.") | 186 | "Keymap for IELM mode.") |
| 186 | (defvaralias 'inferior-emacs-lisp-mode-map 'ielm-map) | ||
| 187 | 187 | ||
| 188 | (easy-menu-define ielm-menu ielm-map | 188 | (easy-menu-define ielm-menu ielm-map |
| 189 | "IELM mode menu." | 189 | "IELM mode menu." |
diff --git a/lisp/isearch.el b/lisp/isearch.el index 85193738c6f..0874ebb54e6 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -3181,9 +3181,9 @@ since they have special meaning in a regexp." | |||
| 3181 | (defvar isearch-lazy-highlight-regexp nil) | 3181 | (defvar isearch-lazy-highlight-regexp nil) |
| 3182 | (defvar isearch-lazy-highlight-lax-whitespace nil) | 3182 | (defvar isearch-lazy-highlight-lax-whitespace nil) |
| 3183 | (defvar isearch-lazy-highlight-regexp-lax-whitespace nil) | 3183 | (defvar isearch-lazy-highlight-regexp-lax-whitespace nil) |
| 3184 | (defvar isearch-lazy-highlight-regexp-function nil) | ||
| 3185 | (define-obsolete-variable-alias 'isearch-lazy-highlight-word | 3184 | (define-obsolete-variable-alias 'isearch-lazy-highlight-word |
| 3186 | 'isearch-lazy-highlight-regexp-function "25.1") | 3185 | 'isearch-lazy-highlight-regexp-function "25.1") |
| 3186 | (defvar isearch-lazy-highlight-regexp-function nil) | ||
| 3187 | (defvar isearch-lazy-highlight-forward nil) | 3187 | (defvar isearch-lazy-highlight-forward nil) |
| 3188 | (defvar isearch-lazy-highlight-error nil) | 3188 | (defvar isearch-lazy-highlight-error nil) |
| 3189 | 3189 | ||
diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el index fcd6eac8096..cbfaf88fb45 100644 --- a/lisp/org/org-agenda.el +++ b/lisp/org/org-agenda.el | |||
| @@ -1401,6 +1401,9 @@ current display in the agenda." | |||
| 1401 | :group 'org-agenda-daily/weekly | 1401 | :group 'org-agenda-daily/weekly |
| 1402 | :type 'plist) | 1402 | :type 'plist) |
| 1403 | 1403 | ||
| 1404 | (defvaralias 'org-agenda-search-view-search-words-only | ||
| 1405 | 'org-agenda-search-view-always-boolean) | ||
| 1406 | |||
| 1404 | (defcustom org-agenda-search-view-always-boolean nil | 1407 | (defcustom org-agenda-search-view-always-boolean nil |
| 1405 | "Non-nil means the search string is interpreted as individual parts. | 1408 | "Non-nil means the search string is interpreted as individual parts. |
| 1406 | 1409 | ||
| @@ -1429,9 +1432,6 @@ boolean search." | |||
| 1429 | :version "24.1" | 1432 | :version "24.1" |
| 1430 | :type 'boolean) | 1433 | :type 'boolean) |
| 1431 | 1434 | ||
| 1432 | (defvaralias 'org-agenda-search-view-search-words-only | ||
| 1433 | 'org-agenda-search-view-always-boolean) | ||
| 1434 | |||
| 1435 | (defcustom org-agenda-search-view-force-full-words nil | 1435 | (defcustom org-agenda-search-view-force-full-words nil |
| 1436 | "Non-nil means, search words must be matches as complete words. | 1436 | "Non-nil means, search words must be matches as complete words. |
| 1437 | When nil, they may also match part of a word." | 1437 | When nil, they may also match part of a word." |
| @@ -1873,6 +1873,9 @@ Nil means don't hide any tags." | |||
| 1873 | (const :tag "Hide none" nil) | 1873 | (const :tag "Hide none" nil) |
| 1874 | (string :tag "Regexp "))) | 1874 | (string :tag "Regexp "))) |
| 1875 | 1875 | ||
| 1876 | (defvaralias 'org-agenda-remove-tags-when-in-prefix | ||
| 1877 | 'org-agenda-remove-tags) | ||
| 1878 | |||
| 1876 | (defcustom org-agenda-remove-tags nil | 1879 | (defcustom org-agenda-remove-tags nil |
| 1877 | "Non-nil means remove the tags from the headline copy in the agenda. | 1880 | "Non-nil means remove the tags from the headline copy in the agenda. |
| 1878 | When this is the symbol `prefix', only remove tags when | 1881 | When this is the symbol `prefix', only remove tags when |
| @@ -1883,8 +1886,7 @@ When this is the symbol `prefix', only remove tags when | |||
| 1883 | (const :tag "Never" nil) | 1886 | (const :tag "Never" nil) |
| 1884 | (const :tag "When prefix format contains %T" prefix))) | 1887 | (const :tag "When prefix format contains %T" prefix))) |
| 1885 | 1888 | ||
| 1886 | (defvaralias 'org-agenda-remove-tags-when-in-prefix | 1889 | (defvaralias 'org-agenda-align-tags-to-column 'org-agenda-tags-column) |
| 1887 | 'org-agenda-remove-tags) | ||
| 1888 | 1890 | ||
| 1889 | (defcustom org-agenda-tags-column 'auto | 1891 | (defcustom org-agenda-tags-column 'auto |
| 1890 | "Shift tags in agenda items to this column. | 1892 | "Shift tags in agenda items to this column. |
| @@ -1902,8 +1904,6 @@ character screen." | |||
| 1902 | :package-version '(Org . "9.1") | 1904 | :package-version '(Org . "9.1") |
| 1903 | :version "26.1") | 1905 | :version "26.1") |
| 1904 | 1906 | ||
| 1905 | (defvaralias 'org-agenda-align-tags-to-column 'org-agenda-tags-column) | ||
| 1906 | |||
| 1907 | (defcustom org-agenda-fontify-priorities 'cookies | 1907 | (defcustom org-agenda-fontify-priorities 'cookies |
| 1908 | "Non-nil means highlight low and high priorities in agenda. | 1908 | "Non-nil means highlight low and high priorities in agenda. |
| 1909 | When t, the highest priority entries are bold, lowest priority italic. | 1909 | When t, the highest priority entries are bold, lowest priority italic. |
| @@ -2067,9 +2067,9 @@ works you probably want to add it to `org-agenda-custom-commands' for good." | |||
| 2067 | 2067 | ||
| 2068 | ;;; Define the org-agenda-mode | 2068 | ;;; Define the org-agenda-mode |
| 2069 | 2069 | ||
| 2070 | (defvaralias 'org-agenda-keymap 'org-agenda-mode-map) | ||
| 2070 | (defvar org-agenda-mode-map (make-sparse-keymap) | 2071 | (defvar org-agenda-mode-map (make-sparse-keymap) |
| 2071 | "Keymap for `org-agenda-mode'.") | 2072 | "Keymap for `org-agenda-mode'.") |
| 2072 | (defvaralias 'org-agenda-keymap 'org-agenda-mode-map) | ||
| 2073 | 2073 | ||
| 2074 | (defvar org-agenda-menu) ; defined later in this file. | 2074 | (defvar org-agenda-menu) ; defined later in this file. |
| 2075 | (defvar org-agenda-restrict nil) ; defined later in this file. | 2075 | (defvar org-agenda-restrict nil) ; defined later in this file. |
diff --git a/lisp/org/org.el b/lisp/org/org.el index b68c68bc355..7f4c6d5936b 100644 --- a/lisp/org/org.el +++ b/lisp/org/org.el | |||
| @@ -1490,6 +1490,8 @@ time in Emacs." | |||
| 1490 | :group 'org-edit-structure | 1490 | :group 'org-edit-structure |
| 1491 | :type 'boolean) | 1491 | :type 'boolean) |
| 1492 | 1492 | ||
| 1493 | (defvaralias 'org-special-ctrl-a 'org-special-ctrl-a/e) | ||
| 1494 | |||
| 1493 | (defcustom org-special-ctrl-a/e nil | 1495 | (defcustom org-special-ctrl-a/e nil |
| 1494 | "Non-nil means `C-a' and `C-e' behave specially in headlines and items. | 1496 | "Non-nil means `C-a' and `C-e' behave specially in headlines and items. |
| 1495 | 1497 | ||
| @@ -1527,7 +1529,6 @@ This may also be a cons cell where the behavior for `C-a' and | |||
| 1527 | (const :tag "off" nil) | 1529 | (const :tag "off" nil) |
| 1528 | (const :tag "on: before tags first" t) | 1530 | (const :tag "on: before tags first" t) |
| 1529 | (const :tag "reversed: after tags first" reversed))))) | 1531 | (const :tag "reversed: after tags first" reversed))))) |
| 1530 | (defvaralias 'org-special-ctrl-a 'org-special-ctrl-a/e) | ||
| 1531 | 1532 | ||
| 1532 | (defcustom org-special-ctrl-k nil | 1533 | (defcustom org-special-ctrl-k nil |
| 1533 | "Non-nil means `C-k' will behave specially in headlines. | 1534 | "Non-nil means `C-k' will behave specially in headlines. |
| @@ -3005,6 +3006,8 @@ because Agenda Log mode depends on the format of these entries." | |||
| 3005 | (unless (assq 'note org-log-note-headings) | 3006 | (unless (assq 'note org-log-note-headings) |
| 3006 | (push '(note . "%t") org-log-note-headings)) | 3007 | (push '(note . "%t") org-log-note-headings)) |
| 3007 | 3008 | ||
| 3009 | (defvaralias 'org-log-state-notes-into-drawer 'org-log-into-drawer) | ||
| 3010 | |||
| 3008 | (defcustom org-log-into-drawer nil | 3011 | (defcustom org-log-into-drawer nil |
| 3009 | "Non-nil means insert state change notes and time stamps into a drawer. | 3012 | "Non-nil means insert state change notes and time stamps into a drawer. |
| 3010 | When nil, state changes notes will be inserted after the headline and | 3013 | When nil, state changes notes will be inserted after the headline and |
| @@ -3036,8 +3039,6 @@ function `org-log-into-drawer' instead." | |||
| 3036 | (const :tag "LOGBOOK" t) | 3039 | (const :tag "LOGBOOK" t) |
| 3037 | (string :tag "Other"))) | 3040 | (string :tag "Other"))) |
| 3038 | 3041 | ||
| 3039 | (defvaralias 'org-log-state-notes-into-drawer 'org-log-into-drawer) | ||
| 3040 | |||
| 3041 | (defun org-log-into-drawer () | 3042 | (defun org-log-into-drawer () |
| 3042 | "Name of the log drawer, as a string, or nil. | 3043 | "Name of the log drawer, as a string, or nil. |
| 3043 | This is the value of `org-log-into-drawer'. However, if the | 3044 | This is the value of `org-log-into-drawer'. However, if the |
| @@ -3798,6 +3799,9 @@ regular expression will be included." | |||
| 3798 | :group 'org-agenda | 3799 | :group 'org-agenda |
| 3799 | :type 'regexp) | 3800 | :type 'regexp) |
| 3800 | 3801 | ||
| 3802 | (defvaralias 'org-agenda-multi-occur-extra-files | ||
| 3803 | 'org-agenda-text-search-extra-files) | ||
| 3804 | |||
| 3801 | (defcustom org-agenda-text-search-extra-files nil | 3805 | (defcustom org-agenda-text-search-extra-files nil |
| 3802 | "List of extra files to be searched by text search commands. | 3806 | "List of extra files to be searched by text search commands. |
| 3803 | These files will be searched in addition to the agenda files by the | 3807 | These files will be searched in addition to the agenda files by the |
| @@ -3815,9 +3819,6 @@ scope." | |||
| 3815 | (const :tag "Agenda Archives" agenda-archives) | 3819 | (const :tag "Agenda Archives" agenda-archives) |
| 3816 | (repeat :inline t (file)))) | 3820 | (repeat :inline t (file)))) |
| 3817 | 3821 | ||
| 3818 | (defvaralias 'org-agenda-multi-occur-extra-files | ||
| 3819 | 'org-agenda-text-search-extra-files) | ||
| 3820 | |||
| 3821 | (defcustom org-agenda-skip-unavailable-files nil | 3822 | (defcustom org-agenda-skip-unavailable-files nil |
| 3822 | "Non-nil means to just skip non-reachable files in `org-agenda-files'. | 3823 | "Non-nil means to just skip non-reachable files in `org-agenda-files'. |
| 3823 | A nil value means to remove them, after a query, from the list." | 3824 | A nil value means to remove them, after a query, from the list." |
diff --git a/lisp/progmodes/flymake-proc.el b/lisp/progmodes/flymake-proc.el index f842563be24..9bb328d6a69 100644 --- a/lisp/progmodes/flymake-proc.el +++ b/lisp/progmodes/flymake-proc.el | |||
| @@ -158,6 +158,9 @@ Convert it to Flymake internal format." | |||
| 158 | (setq converted-list (cons (list regexp file line col) converted-list))))) | 158 | (setq converted-list (cons (list regexp file line col) converted-list))))) |
| 159 | converted-list)) | 159 | converted-list)) |
| 160 | 160 | ||
| 161 | (define-obsolete-variable-alias 'flymake-err-line-patterns | ||
| 162 | 'flymake-proc-err-line-patterns "26.1") | ||
| 163 | |||
| 161 | (defvar flymake-proc-err-line-patterns ; regexp file-idx line-idx col-idx (optional) text-idx(optional), match-end to end of string is error text | 164 | (defvar flymake-proc-err-line-patterns ; regexp file-idx line-idx col-idx (optional) text-idx(optional), match-end to end of string is error text |
| 162 | (append | 165 | (append |
| 163 | '( | 166 | '( |
| @@ -335,6 +338,9 @@ to the beginning of the list (File.h -> File.cpp moved to top)." | |||
| 335 | (file-name-base file-one)) | 338 | (file-name-base file-one)) |
| 336 | (not (equal file-one file-two)))) | 339 | (not (equal file-one file-two)))) |
| 337 | 340 | ||
| 341 | (define-obsolete-variable-alias 'flymake-check-file-limit | ||
| 342 | 'flymake-proc-check-file-limit "26.1") | ||
| 343 | |||
| 338 | (defvar flymake-proc-check-file-limit 8192 | 344 | (defvar flymake-proc-check-file-limit 8192 |
| 339 | "Maximum number of chars to look at when checking possible master file. | 345 | "Maximum number of chars to look at when checking possible master file. |
| 340 | Nil means search the entire file.") | 346 | Nil means search the entire file.") |
| @@ -1148,12 +1154,8 @@ Use CREATE-TEMP-F for creating temp copy." | |||
| 1148 | 1154 | ||
| 1149 | ;;;; | 1155 | ;;;; |
| 1150 | 1156 | ||
| 1151 | (define-obsolete-variable-alias 'flymake-check-file-limit | ||
| 1152 | 'flymake-proc-check-file-limit "26.1") | ||
| 1153 | (define-obsolete-function-alias 'flymake-reformat-err-line-patterns-from-compile-el | 1157 | (define-obsolete-function-alias 'flymake-reformat-err-line-patterns-from-compile-el |
| 1154 | 'flymake-proc-reformat-err-line-patterns-from-compile-el "26.1") | 1158 | 'flymake-proc-reformat-err-line-patterns-from-compile-el "26.1") |
| 1155 | (define-obsolete-variable-alias 'flymake-err-line-patterns | ||
| 1156 | 'flymake-proc-err-line-patterns "26.1") | ||
| 1157 | (define-obsolete-function-alias 'flymake-parse-line | 1159 | (define-obsolete-function-alias 'flymake-parse-line |
| 1158 | 'flymake-proc-parse-line "26.1") | 1160 | 'flymake-proc-parse-line "26.1") |
| 1159 | (define-obsolete-function-alias 'flymake-get-include-dirs | 1161 | (define-obsolete-function-alias 'flymake-get-include-dirs |
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index a1a66c09c63..ba2b1cb94a3 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el | |||
| @@ -557,6 +557,9 @@ This should identify a `make' command that can handle the `-q' option." | |||
| 557 | :type 'string | 557 | :type 'string |
| 558 | :group 'makefile) | 558 | :group 'makefile) |
| 559 | 559 | ||
| 560 | (defvaralias 'makefile-query-one-target-method | ||
| 561 | 'makefile-query-one-target-method-function) | ||
| 562 | |||
| 560 | (defcustom makefile-query-one-target-method-function | 563 | (defcustom makefile-query-one-target-method-function |
| 561 | 'makefile-query-by-make-minus-q | 564 | 'makefile-query-by-make-minus-q |
| 562 | "Function to call to determine whether a make target is up to date. | 565 | "Function to call to determine whether a make target is up to date. |
| @@ -574,8 +577,6 @@ The function must satisfy this calling convention: | |||
| 574 | makefile, any nonzero integer value otherwise." | 577 | makefile, any nonzero integer value otherwise." |
| 575 | :type 'function | 578 | :type 'function |
| 576 | :group 'makefile) | 579 | :group 'makefile) |
| 577 | (defvaralias 'makefile-query-one-target-method | ||
| 578 | 'makefile-query-one-target-method-function) | ||
| 579 | 580 | ||
| 580 | (defcustom makefile-up-to-date-buffer-name "*Makefile Up-to-date overview*" | 581 | (defcustom makefile-up-to-date-buffer-name "*Makefile Up-to-date overview*" |
| 581 | "Name of the Up-to-date overview buffer." | 582 | "Name of the Up-to-date overview buffer." |
diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el index f5d764e16c3..984bb73c73e 100644 --- a/lisp/progmodes/octave.el +++ b/lisp/progmodes/octave.el | |||
| @@ -639,6 +639,9 @@ mode, include \"-q\" and \"--traditional\"." | |||
| 639 | :type '(repeat string) | 639 | :type '(repeat string) |
| 640 | :version "24.4") | 640 | :version "24.4") |
| 641 | 641 | ||
| 642 | (define-obsolete-variable-alias 'inferior-octave-startup-hook | ||
| 643 | 'inferior-octave-mode-hook "24.4") | ||
| 644 | |||
| 642 | (defcustom inferior-octave-mode-hook nil | 645 | (defcustom inferior-octave-mode-hook nil |
| 643 | "Hook to be run when Inferior Octave mode is started." | 646 | "Hook to be run when Inferior Octave mode is started." |
| 644 | :type 'hook) | 647 | :type 'hook) |
| @@ -693,9 +696,6 @@ mode, include \"-q\" and \"--traditional\"." | |||
| 693 | (defvar inferior-octave-output-string nil) | 696 | (defvar inferior-octave-output-string nil) |
| 694 | (defvar inferior-octave-receive-in-progress nil) | 697 | (defvar inferior-octave-receive-in-progress nil) |
| 695 | 698 | ||
| 696 | (define-obsolete-variable-alias 'inferior-octave-startup-hook | ||
| 697 | 'inferior-octave-mode-hook "24.4") | ||
| 698 | |||
| 699 | (defvar inferior-octave-dynamic-complete-functions | 699 | (defvar inferior-octave-dynamic-complete-functions |
| 700 | '(inferior-octave-completion-at-point comint-filename-completion) | 700 | '(inferior-octave-completion-at-point comint-filename-completion) |
| 701 | "List of functions called to perform completion for inferior Octave. | 701 | "List of functions called to perform completion for inferior Octave. |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index adf7b33ccbb..32d645cfcc9 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -2923,11 +2923,17 @@ be asked for their values." | |||
| 2923 | "Instead call `python-shell-get-process' and create one if returns nil." | 2923 | "Instead call `python-shell-get-process' and create one if returns nil." |
| 2924 | "25.1") | 2924 | "25.1") |
| 2925 | 2925 | ||
| 2926 | (define-obsolete-variable-alias | ||
| 2927 | 'python-buffer 'python-shell-internal-buffer "24.3") | ||
| 2928 | |||
| 2926 | (defvar python-shell-internal-buffer nil | 2929 | (defvar python-shell-internal-buffer nil |
| 2927 | "Current internal shell buffer for the current buffer. | 2930 | "Current internal shell buffer for the current buffer. |
| 2928 | This is really not necessary at all for the code to work but it's | 2931 | This is really not necessary at all for the code to work but it's |
| 2929 | there for compatibility with CEDET.") | 2932 | there for compatibility with CEDET.") |
| 2930 | 2933 | ||
| 2934 | (define-obsolete-variable-alias | ||
| 2935 | 'python-preoutput-result 'python-shell-internal-last-output "24.3") | ||
| 2936 | |||
| 2931 | (defvar python-shell-internal-last-output nil | 2937 | (defvar python-shell-internal-last-output nil |
| 2932 | "Last output captured by the internal shell. | 2938 | "Last output captured by the internal shell. |
| 2933 | This is really not necessary at all for the code to work but it's | 2939 | This is really not necessary at all for the code to work but it's |
| @@ -2943,12 +2949,6 @@ there for compatibility with CEDET.") | |||
| 2943 | (define-obsolete-function-alias | 2949 | (define-obsolete-function-alias |
| 2944 | 'python-proc 'python-shell-internal-get-or-create-process "24.3") | 2950 | 'python-proc 'python-shell-internal-get-or-create-process "24.3") |
| 2945 | 2951 | ||
| 2946 | (define-obsolete-variable-alias | ||
| 2947 | 'python-buffer 'python-shell-internal-buffer "24.3") | ||
| 2948 | |||
| 2949 | (define-obsolete-variable-alias | ||
| 2950 | 'python-preoutput-result 'python-shell-internal-last-output "24.3") | ||
| 2951 | |||
| 2952 | (defun python-shell--save-temp-file (string) | 2952 | (defun python-shell--save-temp-file (string) |
| 2953 | (let* ((temporary-file-directory | 2953 | (let* ((temporary-file-directory |
| 2954 | (if (file-remote-p default-directory) | 2954 | (if (file-remote-p default-directory) |
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index ebbef8d89ee..4d291c3bde8 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el | |||
| @@ -691,6 +691,8 @@ making new SQLi sessions." | |||
| 691 | :version "24.1" | 691 | :version "24.1" |
| 692 | :group 'SQL) | 692 | :group 'SQL) |
| 693 | 693 | ||
| 694 | (defvaralias 'sql-dialect 'sql-product) | ||
| 695 | |||
| 694 | (defcustom sql-product 'ansi | 696 | (defcustom sql-product 'ansi |
| 695 | "Select the SQL database product used. | 697 | "Select the SQL database product used. |
| 696 | This allows highlighting buffers properly when you open them." | 698 | This allows highlighting buffers properly when you open them." |
| @@ -703,7 +705,6 @@ This allows highlighting buffers properly when you open them." | |||
| 703 | sql-product-alist)) | 705 | sql-product-alist)) |
| 704 | :group 'SQL | 706 | :group 'SQL |
| 705 | :safe 'symbolp) | 707 | :safe 'symbolp) |
| 706 | (defvaralias 'sql-dialect 'sql-product) | ||
| 707 | 708 | ||
| 708 | ;; misc customization of sql.el behavior | 709 | ;; misc customization of sql.el behavior |
| 709 | 710 | ||
diff --git a/lisp/select.el b/lisp/select.el index 698be837547..bd7fd0c1ffa 100644 --- a/lisp/select.el +++ b/lisp/select.el | |||
| @@ -86,6 +86,8 @@ After the communication, this variable is set to nil.") | |||
| 86 | ;; Only declared obsolete in 23.3. | 86 | ;; Only declared obsolete in 23.3. |
| 87 | (define-obsolete-function-alias 'x-selection 'x-get-selection "at least 19.34") | 87 | (define-obsolete-function-alias 'x-selection 'x-get-selection "at least 19.34") |
| 88 | 88 | ||
| 89 | (define-obsolete-variable-alias 'x-select-enable-clipboard | ||
| 90 | 'select-enable-clipboard "25.1") | ||
| 89 | (defcustom select-enable-clipboard t | 91 | (defcustom select-enable-clipboard t |
| 90 | "Non-nil means cutting and pasting uses the clipboard. | 92 | "Non-nil means cutting and pasting uses the clipboard. |
| 91 | This can be in addition to, but in preference to, the primary selection, | 93 | This can be in addition to, but in preference to, the primary selection, |
| @@ -94,9 +96,9 @@ if applicable (i.e. under X11)." | |||
| 94 | :group 'killing | 96 | :group 'killing |
| 95 | ;; The GNU/Linux version changed in 24.1, the MS-Windows version did not. | 97 | ;; The GNU/Linux version changed in 24.1, the MS-Windows version did not. |
| 96 | :version "24.1") | 98 | :version "24.1") |
| 97 | (define-obsolete-variable-alias 'x-select-enable-clipboard | ||
| 98 | 'select-enable-clipboard "25.1") | ||
| 99 | 99 | ||
| 100 | (define-obsolete-variable-alias 'x-select-enable-primary | ||
| 101 | 'select-enable-primary "25.1") | ||
| 100 | (defcustom select-enable-primary nil | 102 | (defcustom select-enable-primary nil |
| 101 | "Non-nil means cutting and pasting uses the primary selection. | 103 | "Non-nil means cutting and pasting uses the primary selection. |
| 102 | The existence of a primary selection depends on the underlying GUI you use. | 104 | The existence of a primary selection depends on the underlying GUI you use. |
| @@ -104,8 +106,6 @@ E.g. it doesn't exist under MS-Windows." | |||
| 104 | :type 'boolean | 106 | :type 'boolean |
| 105 | :group 'killing | 107 | :group 'killing |
| 106 | :version "25.1") | 108 | :version "25.1") |
| 107 | (define-obsolete-variable-alias 'x-select-enable-primary | ||
| 108 | 'select-enable-primary "25.1") | ||
| 109 | 109 | ||
| 110 | ;; We keep track of the last text selected here, so we can check the | 110 | ;; We keep track of the last text selected here, so we can check the |
| 111 | ;; current selection against it, and avoid passing back our own text | 111 | ;; current selection against it, and avoid passing back our own text |
diff --git a/lisp/shell.el b/lisp/shell.el index d4a0556ceb3..232186083d5 100644 --- a/lisp/shell.el +++ b/lisp/shell.el | |||
| @@ -315,6 +315,8 @@ for Shell mode only." | |||
| 315 | "List of directories saved by pushd in this buffer's shell. | 315 | "List of directories saved by pushd in this buffer's shell. |
| 316 | Thus, this does not include the shell's current directory.") | 316 | Thus, this does not include the shell's current directory.") |
| 317 | 317 | ||
| 318 | (defvaralias 'shell-dirtrack-mode 'shell-dirtrackp) | ||
| 319 | |||
| 318 | (defvar shell-dirtrackp t | 320 | (defvar shell-dirtrackp t |
| 319 | "Non-nil in a shell buffer means directory tracking is enabled.") | 321 | "Non-nil in a shell buffer means directory tracking is enabled.") |
| 320 | 322 | ||
| @@ -961,7 +963,6 @@ Environment variables are expanded, see function `substitute-in-file-name'." | |||
| 961 | (and (string-match "^\\+[1-9][0-9]*$" str) | 963 | (and (string-match "^\\+[1-9][0-9]*$" str) |
| 962 | (string-to-number str))) | 964 | (string-to-number str))) |
| 963 | 965 | ||
| 964 | (defvaralias 'shell-dirtrack-mode 'shell-dirtrackp) | ||
| 965 | (define-minor-mode shell-dirtrack-mode | 966 | (define-minor-mode shell-dirtrack-mode |
| 966 | "Toggle directory tracking in this shell buffer (Shell Dirtrack mode). | 967 | "Toggle directory tracking in this shell buffer (Shell Dirtrack mode). |
| 967 | With a prefix argument ARG, enable Shell Dirtrack mode if ARG is | 968 | With a prefix argument ARG, enable Shell Dirtrack mode if ARG is |
diff --git a/lisp/skeleton.el b/lisp/skeleton.el index 90e3819cb7f..1d1af825a17 100644 --- a/lisp/skeleton.el +++ b/lisp/skeleton.el | |||
| @@ -37,13 +37,13 @@ | |||
| 37 | ;; page 2: paired insertion | 37 | ;; page 2: paired insertion |
| 38 | ;; page 3: mirror-mode, an example for setting up paired insertion | 38 | ;; page 3: mirror-mode, an example for setting up paired insertion |
| 39 | 39 | ||
| 40 | (defvaralias 'skeleton-transformation 'skeleton-transformation-function) | ||
| 40 | 41 | ||
| 41 | (defvar skeleton-transformation-function 'identity | 42 | (defvar skeleton-transformation-function 'identity |
| 42 | "If non-nil, function applied to literal strings before they are inserted. | 43 | "If non-nil, function applied to literal strings before they are inserted. |
| 43 | It should take strings and characters and return them transformed, or nil | 44 | It should take strings and characters and return them transformed, or nil |
| 44 | which means no transformation. | 45 | which means no transformation. |
| 45 | Typical examples might be `upcase' or `capitalize'.") | 46 | Typical examples might be `upcase' or `capitalize'.") |
| 46 | (defvaralias 'skeleton-transformation 'skeleton-transformation-function) | ||
| 47 | 47 | ||
| 48 | ; this should be a fourth argument to defvar | 48 | ; this should be a fourth argument to defvar |
| 49 | (put 'skeleton-transformation-function 'variable-interactive | 49 | (put 'skeleton-transformation-function 'variable-interactive |
| @@ -65,11 +65,11 @@ region.") | |||
| 65 | "Hook called at end of skeleton but before going to point of interest. | 65 | "Hook called at end of skeleton but before going to point of interest. |
| 66 | The variables `v1' and `v2' are still set when calling this.") | 66 | The variables `v1' and `v2' are still set when calling this.") |
| 67 | 67 | ||
| 68 | (defvaralias 'skeleton-filter 'skeleton-filter-function) | ||
| 68 | 69 | ||
| 69 | ;;;###autoload | 70 | ;;;###autoload |
| 70 | (defvar skeleton-filter-function 'identity | 71 | (defvar skeleton-filter-function 'identity |
| 71 | "Function for transforming a skeleton proxy's aliases' variable value.") | 72 | "Function for transforming a skeleton proxy's aliases' variable value.") |
| 72 | (defvaralias 'skeleton-filter 'skeleton-filter-function) | ||
| 73 | 73 | ||
| 74 | (defvar skeleton-untabify nil ; bug#12223 | 74 | (defvar skeleton-untabify nil ; bug#12223 |
| 75 | "When non-nil untabifies when deleting backwards with element -ARG.") | 75 | "When non-nil untabifies when deleting backwards with element -ARG.") |
diff --git a/lisp/startup.el b/lisp/startup.el index f6907a821b9..bb3e70493c4 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -63,6 +63,9 @@ string or function value that this variable has." | |||
| 63 | :version "23.1" | 63 | :version "23.1" |
| 64 | :group 'initialization) | 64 | :group 'initialization) |
| 65 | 65 | ||
| 66 | (defvaralias 'inhibit-splash-screen 'inhibit-startup-screen) | ||
| 67 | (defvaralias 'inhibit-startup-message 'inhibit-startup-screen) | ||
| 68 | |||
| 66 | (defcustom inhibit-startup-screen nil | 69 | (defcustom inhibit-startup-screen nil |
| 67 | "Non-nil inhibits the startup screen. | 70 | "Non-nil inhibits the startup screen. |
| 68 | 71 | ||
| @@ -71,9 +74,6 @@ once you are familiar with the contents of the startup screen." | |||
| 71 | :type 'boolean | 74 | :type 'boolean |
| 72 | :group 'initialization) | 75 | :group 'initialization) |
| 73 | 76 | ||
| 74 | (defvaralias 'inhibit-splash-screen 'inhibit-startup-screen) | ||
| 75 | (defvaralias 'inhibit-startup-message 'inhibit-startup-screen) | ||
| 76 | |||
| 77 | (defvar startup-screen-inhibit-startup-screen nil) | 77 | (defvar startup-screen-inhibit-startup-screen nil) |
| 78 | 78 | ||
| 79 | ;; The mechanism used to ensure that only end users can disable this | 79 | ;; The mechanism used to ensure that only end users can disable this |
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index fa988ad5f24..eff8adcd3bc 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el | |||
| @@ -549,8 +549,9 @@ the last file dropped is selected." | |||
| 549 | (defvar ns-right-control-modifier) | 549 | (defvar ns-right-control-modifier) |
| 550 | 550 | ||
| 551 | ;; You say tomAYto, I say tomAHto.. | 551 | ;; You say tomAYto, I say tomAHto.. |
| 552 | (defvaralias 'ns-option-modifier 'ns-alternate-modifier) | 552 | (with-no-warnings |
| 553 | (defvaralias 'ns-right-option-modifier 'ns-right-alternate-modifier) | 553 | (defvaralias 'ns-option-modifier 'ns-alternate-modifier) |
| 554 | (defvaralias 'ns-right-option-modifier 'ns-right-alternate-modifier)) | ||
| 554 | 555 | ||
| 555 | (defun ns-do-hide-emacs () | 556 | (defun ns-do-hide-emacs () |
| 556 | (interactive) | 557 | (interactive) |
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el index e9ae6a4ce97..61ca0856bc9 100644 --- a/lisp/textmodes/artist.el +++ b/lisp/textmodes/artist.el | |||
| @@ -351,13 +351,12 @@ Example: | |||
| 351 | (defvar artist-pointer-shape (if (eq window-system 'x) x-pointer-crosshair nil) | 351 | (defvar artist-pointer-shape (if (eq window-system 'x) x-pointer-crosshair nil) |
| 352 | "If in X Windows, use this pointer shape while drawing with the mouse.") | 352 | "If in X Windows, use this pointer shape while drawing with the mouse.") |
| 353 | 353 | ||
| 354 | (defvaralias 'artist-text-renderer 'artist-text-renderer-function) | ||
| 354 | 355 | ||
| 355 | (defcustom artist-text-renderer-function 'artist-figlet | 356 | (defcustom artist-text-renderer-function 'artist-figlet |
| 356 | "Function for doing text rendering." | 357 | "Function for doing text rendering." |
| 357 | :group 'artist-text | 358 | :group 'artist-text |
| 358 | :type 'symbol) | 359 | :type 'symbol) |
| 359 | (defvaralias 'artist-text-renderer 'artist-text-renderer-function) | ||
| 360 | |||
| 361 | 360 | ||
| 362 | (defcustom artist-figlet-program "figlet" | 361 | (defcustom artist-figlet-program "figlet" |
| 363 | "Program to run for `figlet'." | 362 | "Program to run for `figlet'." |
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index 79eb22e5ed7..89c94eb7e90 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el | |||
| @@ -1038,6 +1038,9 @@ See `bibtex-generate-autokey' for details." | |||
| 1038 | :type '(repeat (cons (regexp :tag "Old") | 1038 | :type '(repeat (cons (regexp :tag "Old") |
| 1039 | (string :tag "New")))) | 1039 | (string :tag "New")))) |
| 1040 | 1040 | ||
| 1041 | (defvaralias 'bibtex-autokey-name-case-convert | ||
| 1042 | 'bibtex-autokey-name-case-convert-function) | ||
| 1043 | |||
| 1041 | (defcustom bibtex-autokey-name-case-convert-function 'downcase | 1044 | (defcustom bibtex-autokey-name-case-convert-function 'downcase |
| 1042 | "Function called for each name to perform case conversion. | 1045 | "Function called for each name to perform case conversion. |
| 1043 | See `bibtex-generate-autokey' for details." | 1046 | See `bibtex-generate-autokey' for details." |
| @@ -1049,8 +1052,6 @@ See `bibtex-generate-autokey' for details." | |||
| 1049 | (function :tag "Conversion function"))) | 1052 | (function :tag "Conversion function"))) |
| 1050 | (put 'bibtex-autokey-name-case-convert-function 'safe-local-variable | 1053 | (put 'bibtex-autokey-name-case-convert-function 'safe-local-variable |
| 1051 | (lambda (x) (memq x '(upcase downcase capitalize identity)))) | 1054 | (lambda (x) (memq x '(upcase downcase capitalize identity)))) |
| 1052 | (defvaralias 'bibtex-autokey-name-case-convert | ||
| 1053 | 'bibtex-autokey-name-case-convert-function) | ||
| 1054 | 1055 | ||
| 1055 | (defcustom bibtex-autokey-name-length 'infty | 1056 | (defcustom bibtex-autokey-name-length 'infty |
| 1056 | "Number of characters from name to incorporate into key. | 1057 | "Number of characters from name to incorporate into key. |
| @@ -1113,6 +1114,9 @@ Case is significant. See `bibtex-generate-autokey' for details." | |||
| 1113 | :group 'bibtex-autokey | 1114 | :group 'bibtex-autokey |
| 1114 | :type '(repeat regexp)) | 1115 | :type '(repeat regexp)) |
| 1115 | 1116 | ||
| 1117 | (defvaralias 'bibtex-autokey-titleword-case-convert | ||
| 1118 | 'bibtex-autokey-titleword-case-convert-function) | ||
| 1119 | |||
| 1116 | (defcustom bibtex-autokey-titleword-case-convert-function 'downcase | 1120 | (defcustom bibtex-autokey-titleword-case-convert-function 'downcase |
| 1117 | "Function called for each titleword to perform case conversion. | 1121 | "Function called for each titleword to perform case conversion. |
| 1118 | See `bibtex-generate-autokey' for details." | 1122 | See `bibtex-generate-autokey' for details." |
| @@ -1122,8 +1126,6 @@ See `bibtex-generate-autokey' for details." | |||
| 1122 | (const :tag "Capitalize" capitalize) | 1126 | (const :tag "Capitalize" capitalize) |
| 1123 | (const :tag "Upcase" upcase) | 1127 | (const :tag "Upcase" upcase) |
| 1124 | (function :tag "Conversion function"))) | 1128 | (function :tag "Conversion function"))) |
| 1125 | (defvaralias 'bibtex-autokey-titleword-case-convert | ||
| 1126 | 'bibtex-autokey-titleword-case-convert-function) | ||
| 1127 | 1129 | ||
| 1128 | (defcustom bibtex-autokey-titleword-abbrevs nil | 1130 | (defcustom bibtex-autokey-titleword-abbrevs nil |
| 1129 | "Determines exceptions to the usual abbreviation mechanism. | 1131 | "Determines exceptions to the usual abbreviation mechanism. |
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 2d0307845ca..9747f8e2ebf 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -321,14 +321,16 @@ If this variable is nil, all regions are treated as small." | |||
| 321 | ;;* (lambda () (setq flyspell-generic-check-word-predicate */ | 321 | ;;* (lambda () (setq flyspell-generic-check-word-predicate */ |
| 322 | ;;* 'mail-mode-flyspell-verify))) */ | 322 | ;;* 'mail-mode-flyspell-verify))) */ |
| 323 | ;;*---------------------------------------------------------------------*/ | 323 | ;;*---------------------------------------------------------------------*/ |
| 324 | |||
| 325 | (define-obsolete-variable-alias 'flyspell-generic-check-word-p | ||
| 326 | 'flyspell-generic-check-word-predicate "25.1") | ||
| 327 | |||
| 324 | (defvar flyspell-generic-check-word-predicate nil | 328 | (defvar flyspell-generic-check-word-predicate nil |
| 325 | "Function providing per-mode customization over which words are flyspelled. | 329 | "Function providing per-mode customization over which words are flyspelled. |
| 326 | Returns t to continue checking, nil otherwise. | 330 | Returns t to continue checking, nil otherwise. |
| 327 | Flyspell mode sets this variable to whatever is the `flyspell-mode-predicate' | 331 | Flyspell mode sets this variable to whatever is the `flyspell-mode-predicate' |
| 328 | property of the major mode name.") | 332 | property of the major mode name.") |
| 329 | (make-variable-buffer-local 'flyspell-generic-check-word-predicate) | 333 | (make-variable-buffer-local 'flyspell-generic-check-word-predicate) |
| 330 | (define-obsolete-variable-alias 'flyspell-generic-check-word-p | ||
| 331 | 'flyspell-generic-check-word-predicate "25.1") | ||
| 332 | 334 | ||
| 333 | ;;*--- mail mode -------------------------------------------------------*/ | 335 | ;;*--- mail mode -------------------------------------------------------*/ |
| 334 | (put 'mail-mode 'flyspell-mode-predicate 'mail-mode-flyspell-verify) | 336 | (put 'mail-mode 'flyspell-mode-predicate 'mail-mode-flyspell-verify) |
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index ba98ea55199..18bf2630e58 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -318,12 +318,13 @@ The following values are supported: | |||
| 318 | :type 'boolean | 318 | :type 'boolean |
| 319 | :group 'ispell) | 319 | :group 'ispell) |
| 320 | 320 | ||
| 321 | (defvaralias 'ispell-format-word 'ispell-format-word-function) | ||
| 322 | |||
| 321 | (defcustom ispell-format-word-function (function upcase) | 323 | (defcustom ispell-format-word-function (function upcase) |
| 322 | "Formatting function for displaying word being spell checked. | 324 | "Formatting function for displaying word being spell checked. |
| 323 | The function must take one string argument and return a string." | 325 | The function must take one string argument and return a string." |
| 324 | :type 'function | 326 | :type 'function |
| 325 | :group 'ispell) | 327 | :group 'ispell) |
| 326 | (defvaralias 'ispell-format-word 'ispell-format-word-function) | ||
| 327 | 328 | ||
| 328 | (defcustom ispell-use-framepop-p nil | 329 | (defcustom ispell-use-framepop-p nil |
| 329 | "When non-nil ispell uses framepop to display choices in a dedicated frame. | 330 | "When non-nil ispell uses framepop to display choices in a dedicated frame. |
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el index 48c01289347..40d75a9db84 100644 --- a/lisp/textmodes/rst.el +++ b/lisp/textmodes/rst.el | |||
| @@ -796,6 +796,9 @@ Return ADO if so or signal an error otherwise." | |||
| 796 | 796 | ||
| 797 | ;; Public class methods | 797 | ;; Public class methods |
| 798 | 798 | ||
| 799 | (define-obsolete-variable-alias | ||
| 800 | 'rst-preferred-decorations 'rst-preferred-adornments "rst 1.0.0") | ||
| 801 | |||
| 799 | (defvar rst-preferred-adornments) ; Forward declaration. | 802 | (defvar rst-preferred-adornments) ; Forward declaration. |
| 800 | 803 | ||
| 801 | (defun rst-Hdr-preferred-adornments () | 804 | (defun rst-Hdr-preferred-adornments () |
| @@ -1481,8 +1484,6 @@ for modes derived from Text mode, like Mail mode." | |||
| 1481 | :group 'rst | 1484 | :group 'rst |
| 1482 | :version "21.1") | 1485 | :version "21.1") |
| 1483 | 1486 | ||
| 1484 | (define-obsolete-variable-alias | ||
| 1485 | 'rst-preferred-decorations 'rst-preferred-adornments "rst 1.0.0") | ||
| 1486 | ;; FIXME: Default must match suggestion in | 1487 | ;; FIXME: Default must match suggestion in |
| 1487 | ;; http://sphinx-doc.org/rest.html#sections for Python documentation. | 1488 | ;; http://sphinx-doc.org/rest.html#sections for Python documentation. |
| 1488 | (defcustom rst-preferred-adornments '((?= over-and-under 1) | 1489 | (defcustom rst-preferred-adornments '((?= over-and-under 1) |
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index 811eb6622a2..30ca11199d4 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el | |||
| @@ -76,6 +76,8 @@ a DOCTYPE or an XML declaration." | |||
| 76 | :version "22.1" | 76 | :version "22.1" |
| 77 | :group 'sgml) | 77 | :group 'sgml) |
| 78 | 78 | ||
| 79 | (defvaralias 'sgml-transformation 'sgml-transformation-function) | ||
| 80 | |||
| 79 | (defcustom sgml-transformation-function 'identity | 81 | (defcustom sgml-transformation-function 'identity |
| 80 | "Default value for `skeleton-transformation-function' in SGML mode." | 82 | "Default value for `skeleton-transformation-function' in SGML mode." |
| 81 | :type 'function | 83 | :type 'function |
| @@ -92,7 +94,6 @@ a DOCTYPE or an XML declaration." | |||
| 92 | 94 | ||
| 93 | (put 'sgml-transformation-function 'variable-interactive | 95 | (put 'sgml-transformation-function 'variable-interactive |
| 94 | "aTransformation function: ") | 96 | "aTransformation function: ") |
| 95 | (defvaralias 'sgml-transformation 'sgml-transformation-function) | ||
| 96 | 97 | ||
| 97 | (defcustom sgml-mode-hook nil | 98 | (defcustom sgml-mode-hook nil |
| 98 | "Hook run by command `sgml-mode'. | 99 | "Hook run by command `sgml-mode'. |
diff --git a/lisp/window.el b/lisp/window.el index 8c5e441e4b6..8055e5babc0 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -6641,6 +6641,7 @@ represents a live window, nil otherwise." | |||
| 6641 | )) | 6641 | )) |
| 6642 | frame)))) | 6642 | frame)))) |
| 6643 | 6643 | ||
| 6644 | (defvaralias 'even-window-heights 'even-window-sizes) | ||
| 6644 | (defcustom even-window-sizes t | 6645 | (defcustom even-window-sizes t |
| 6645 | "If non-nil `display-buffer' will try to even window sizes. | 6646 | "If non-nil `display-buffer' will try to even window sizes. |
| 6646 | Otherwise `display-buffer' will leave the window configuration | 6647 | Otherwise `display-buffer' will leave the window configuration |
| @@ -6654,7 +6655,6 @@ any of them." | |||
| 6654 | (const :tag "Always" t)) | 6655 | (const :tag "Always" t)) |
| 6655 | :version "25.1" | 6656 | :version "25.1" |
| 6656 | :group 'windows) | 6657 | :group 'windows) |
| 6657 | (defvaralias 'even-window-heights 'even-window-sizes) | ||
| 6658 | 6658 | ||
| 6659 | (defun window--even-window-sizes (window) | 6659 | (defun window--even-window-sizes (window) |
| 6660 | "Even sizes of WINDOW and selected window. | 6660 | "Even sizes of WINDOW and selected window. |