diff options
| author | Glenn Morris | 2018-03-10 19:15:56 -0800 |
|---|---|---|
| committer | Glenn Morris | 2018-03-10 19:15:56 -0800 |
| commit | f1c48b0ec521744826ed43ae27eed0e152c472bf (patch) | |
| tree | 1e91cdd294074a8afe02b0f5e1df201bafac64d1 | |
| parent | 6a2d179a477d6d92fe9df78c4eee392cf83d6d4e (diff) | |
| download | emacs-f1c48b0ec521744826ed43ae27eed0e152c472bf.tar.gz emacs-f1c48b0ec521744826ed43ae27eed0e152c472bf.zip | |
Remove many items obsolete since Emacs 22.1
Emacs 22.1 was five major releases and over decade ago.
In bug reporting statistics, it's been absent for around 5 years.
Ref: https://debbugs.gnu.org/stats/emacs.html
This list can be reviewed before to the next release, but for
now hopefully this motivates any needed external updates.
* lisp/arc-mode.el (archive-mouse-extract):
* lisp/bookmark.el (bookmark-exit-hooks):
* lisp/comint.el (comint-use-prompt-regexp-instead-of-fields):
* lisp/cus-edit.el (custom-face-save-command):
* lisp/descr-text.el (describe-char-after):
* lisp/desktop.el (desktop-enable, desktop-basefilename)
(desktop-buffer-modes-to-save, desktop-buffer-misc-functions)
(desktop-buffer-handlers, desktop-load-default):
* lisp/dired-x.el (dired-omit-files-p):
* lisp/frame.el (new-frame, set-default-font, delete-frame-hook)
(blink-cursor):
* lisp/generic-x.el (generic-define-mswindows-modes)
(generic-define-unix-modes):
* lisp/help.el (describe-project, view-todo):
* lisp/hilit-chg.el (highlight-changes-colours):
* lisp/ibuffer.el (ibuffer-elide-long-columns, ibuffer-hooks)
(ibuffer-mode-hooks):
* lisp/imenu.el (imenu-always-use-completion-buffer-p):
* lisp/isearch.el (isearch-lazy-highlight-cleanup)
(isearch-lazy-highlight-initial-delay)
(isearch-lazy-highlight-interval)
(isearch-lazy-highlight-max-at-a-time)
(isearch-lazy-highlight-cleanup):
* lisp/mwheel.el (mouse-wheel-down-button)
(mouse-wheel-up-button, mouse-wheel-click-button):
* lisp/novice.el (disabled-command-hook):
* lisp/recentf.el (recentf-menu-append-commands-p):
* lisp/savehist.el (savehist-load):
* lisp/speedbar.el (speedbar-ignored-path-expressions)
(speedbar-ignored-path-regexp, speedbar-add-ignored-path-regexp)
(speedbar-line-path, speedbar-buffers-line-path, speedbar-path-line):
* lisp/subr.el (assoc-ignore-case, assoc-ignore-representation)
(x-lost-selection-hooks, x-sent-selection-hooks)
(process-kill-without-query):
* lisp/calendar/icalendar.el (icalendar-convert-diary-to-ical)
(icalendar-extract-ical-from-buffer):
* lisp/emacs-lisp/autoload.el (update-autoloads-from-directories):
* lisp/emacs-lisp/derived.el (derived-mode-class):
* lisp/emacs-lisp/generic.el (generic-font-lock-defaults):
* lisp/emacs-lisp/timer.el (timer-set-time-with-usecs):
* lisp/gnus/spam.el (spam-list-of-processors):
* lisp/international/latin1-disp.el (latin1-char-displayable-p):
* lisp/mail/rmail.el (rmail-pop-password, rmail-pop-password-required):
* lisp/net/goto-addr.el (goto-address-at-mouse):
* lisp/net/net-utils.el (ipconfig-program, ipconfig-program-options):
* lisp/obsolete/iswitchb.el (iswitchb-use-fonts):
* lisp/play/dunnet.el (dungeon-mode-map):
* lisp/progmodes/compile.el (compilation-finish-function)
* lisp/progmodes/cperl-mode.el (cperl-vc-header-alist)
* lisp/progmodes/gud.el (tooltip-gud-modes, tooltip-gud-display)
(tooltip-gud-toggle-dereference):
* lisp/progmodes/pascal.el (pascal-outline):
* lisp/progmodes/perl-mode.el (electric-perl-terminator):
* lisp/textmodes/nroff-mode.el (count-text-lines)
(forward-text-line, backward-text-line, electric-nroff-newline)
(electric-nroff-mode):
* lisp/vc/log-edit.el (vc-comment-ring, vc-comment-ring-index)
(vc-previous-comment, vc-next-comment)
(vc-comment-search-reverse, vc-comment-search-forward)
(vc-comment-to-change-log):
* lisp/vc/pcvs-info.el (cvs-display-full-path)
(cvs-fileinfo->full-path):
* lisp/vc/vc.el (vc-diff-switches-list):
Remove items, obsolete since Emacs 22.1.
* lisp/ibuffer.el (ibuffer-cached-elide-long-columns):
Remove internal variable.
(ibuffer-compile-make-eliding-form, ibuffer-check-formats):
(ibuffer-mode): Remove support for ibuffer-elide-long-columns.
* lisp/cedet/semantic/sb.el (semantic-sb-token-jump):
Remove support for speedbar-line-path.
* lisp/emacs-lisp/unsafep.el (assoc-ignore-case):
Stop marking as side-effect-free.
* lisp/gnus/spam.el (spam-group-processor-p):
Remove support for spam-list-of-processors.
* lisp/progmodes/compile.el (define-compilation-mode)
(compilation-handle-exit):
Remove support for compilation-finish-function.
* lisp/progmodes/cperl-mode.el (cperl-mode):
Remove support for cperl-vc-header-alist.
; * lisp/files.el: Comments.
; * etc/NEWS: List removed items.
45 files changed, 85 insertions, 423 deletions
| @@ -290,6 +290,41 @@ This feature uses Tramp and works only on systems which support GVFS, | |||
| 290 | i.e. GNU/Linux, roughly spoken. See the chapter "(tramp) Archive file | 290 | i.e. GNU/Linux, roughly spoken. See the chapter "(tramp) Archive file |
| 291 | names" in the Tramp manual for full documentation of these facilities. | 291 | names" in the Tramp manual for full documentation of these facilities. |
| 292 | 292 | ||
| 293 | ** Some functions and variables obsolete since 22.1 have been removed: | ||
| 294 | archive-mouse-extract, assoc-ignore-case, assoc-ignore-representation, | ||
| 295 | backward-text-line, blink-cursor, bookmark-exit-hooks, | ||
| 296 | comint-use-prompt-regexp-instead-of-fields, compilation-finish-function, | ||
| 297 | count-text-lines, cperl-vc-header-alist, custom-face-save-command, | ||
| 298 | cvs-display-full-path, cvs-fileinfo->full-path, delete-frame-hook, | ||
| 299 | derived-mode-class, describe-char-after, describe-project, | ||
| 300 | desktop-basefilename, desktop-buffer-handlers, | ||
| 301 | desktop-buffer-misc-functions, desktop-buffer-modes-to-save, | ||
| 302 | desktop-enable, desktop-load-default, dired-omit-files-p, | ||
| 303 | disabled-command-hook, dungeon-mode-map, electric-nroff-mode, | ||
| 304 | electric-nroff-newline, electric-perl-terminator, forward-text-line, | ||
| 305 | generic-define-mswindows-modes, generic-define-unix-modes, | ||
| 306 | generic-font-lock-defaults, goto-address-at-mouse, | ||
| 307 | highlight-changes-colours, ibuffer-elide-long-columns, ibuffer-hooks, | ||
| 308 | ibuffer-mode-hooks, icalendar-convert-diary-to-ical, | ||
| 309 | icalendar-extract-ical-from-buffer, imenu-always-use-completion-buffer-p, | ||
| 310 | ipconfig-program, ipconfig-program-options, isearch-lazy-highlight-cleanup, | ||
| 311 | isearch-lazy-highlight-cleanup, isearch-lazy-highlight-initial-delay, | ||
| 312 | isearch-lazy-highlight-interval, isearch-lazy-highlight-max-at-a-time, | ||
| 313 | iswitchb-use-fonts, latin1-char-displayable-p, mouse-wheel-click-button, | ||
| 314 | mouse-wheel-down-button, mouse-wheel-up-button, new-frame, pascal-outline, | ||
| 315 | process-kill-without-query, recentf-menu-append-commands-p, | ||
| 316 | rmail-pop-password, rmail-pop-password-required, savehist-load, | ||
| 317 | set-default-font, spam-list-of-processors, | ||
| 318 | speedbar-add-ignored-path-regexp, speedbar-buffers-line-path, | ||
| 319 | speedbar-buffers-line-path, speedbar-ignored-path-expressions, | ||
| 320 | speedbar-ignored-path-regexp, speedbar-line-path, speedbar-path-line, | ||
| 321 | timer-set-time-with-usecs, tooltip-gud-display, tooltip-gud-modes, | ||
| 322 | tooltip-gud-toggle-dereference, update-autoloads-from-directories, | ||
| 323 | vc-comment-ring, vc-comment-ring-index, vc-comment-search-forward, | ||
| 324 | vc-comment-search-reverse, vc-comment-to-change-log, vc-diff-switches-list, | ||
| 325 | vc-next-comment, vc-previous-comment, view-todo, x-lost-selection-hooks, | ||
| 326 | x-sent-selection-hooks | ||
| 327 | |||
| 293 | 328 | ||
| 294 | * Incompatible Lisp Changes in Emacs 27.1 | 329 | * Incompatible Lisp Changes in Emacs 27.1 |
| 295 | 330 | ||
diff --git a/lisp/arc-mode.el b/lisp/arc-mode.el index ce3ec09e286..4ddb29dcbb5 100644 --- a/lisp/arc-mode.el +++ b/lisp/arc-mode.el | |||
| @@ -1010,8 +1010,6 @@ using `make-temp-file', and the generated name is returned." | |||
| 1010 | (kill-local-variable 'buffer-file-coding-system) | 1010 | (kill-local-variable 'buffer-file-coding-system) |
| 1011 | (after-insert-file-set-coding (- (point-max) (point-min)))))) | 1011 | (after-insert-file-set-coding (- (point-max) (point-min)))))) |
| 1012 | 1012 | ||
| 1013 | (define-obsolete-function-alias 'archive-mouse-extract 'archive-extract "22.1") | ||
| 1014 | |||
| 1015 | (defun archive-extract (&optional other-window-p event) | 1013 | (defun archive-extract (&optional other-window-p event) |
| 1016 | "In archive mode, extract this entry of the archive into its own buffer." | 1014 | "In archive mode, extract this entry of the archive into its own buffer." |
| 1017 | (interactive (list nil last-input-event)) | 1015 | (interactive (list nil last-input-event)) |
diff --git a/lisp/bookmark.el b/lisp/bookmark.el index 70b63a22b87..a454ccb3ae6 100644 --- a/lisp/bookmark.el +++ b/lisp/bookmark.el | |||
| @@ -2251,8 +2251,6 @@ strings returned are not." | |||
| 2251 | "Hook run at the end of loading library `bookmark.el'.") | 2251 | "Hook run at the end of loading library `bookmark.el'.") |
| 2252 | 2252 | ||
| 2253 | ;; Exit Hook, called from kill-emacs-hook | 2253 | ;; Exit Hook, called from kill-emacs-hook |
| 2254 | (define-obsolete-variable-alias 'bookmark-exit-hooks | ||
| 2255 | 'bookmark-exit-hook "22.1") | ||
| 2256 | (defvar bookmark-exit-hook nil | 2254 | (defvar bookmark-exit-hook nil |
| 2257 | "Hook run when Emacs exits.") | 2255 | "Hook run when Emacs exits.") |
| 2258 | 2256 | ||
diff --git a/lisp/calendar/icalendar.el b/lisp/calendar/icalendar.el index ca3adfaeeb5..c1a3e0a4213 100644 --- a/lisp/calendar/icalendar.el +++ b/lisp/calendar/icalendar.el | |||
| @@ -43,13 +43,13 @@ | |||
| 43 | 43 | ||
| 44 | ;; 0.06: (2004-10-06) | 44 | ;; 0.06: (2004-10-06) |
| 45 | ;; - Bugfixes regarding icalendar-import-format-*. | 45 | ;; - Bugfixes regarding icalendar-import-format-*. |
| 46 | ;; - Fix in icalendar-convert-diary-to-ical -- thanks to Philipp Grau. | 46 | ;; - Fix in icalendar-export-file -- thanks to Philipp Grau. |
| 47 | 47 | ||
| 48 | ;; 0.05: (2003-06-19) | 48 | ;; 0.05: (2003-06-19) |
| 49 | ;; - New import format scheme: Replaced icalendar-import-prefix-*, | 49 | ;; - New import format scheme: Replaced icalendar-import-prefix-*, |
| 50 | ;; icalendar-import-ignored-properties, and | 50 | ;; icalendar-import-ignored-properties, and |
| 51 | ;; icalendar-import-separator with icalendar-import-format(-*). | 51 | ;; icalendar-import-separator with icalendar-import-format(-*). |
| 52 | ;; - icalendar-import-file and icalendar-convert-diary-to-ical | 52 | ;; - icalendar-import-file and icalendar-export-file |
| 53 | ;; have an extra parameter which should prevent them from | 53 | ;; have an extra parameter which should prevent them from |
| 54 | ;; erasing their target files (untested!). | 54 | ;; erasing their target files (untested!). |
| 55 | ;; - Tested with Emacs 21.3.2 | 55 | ;; - Tested with Emacs 21.3.2 |
| @@ -996,9 +996,6 @@ Finto iCalendar file: ") | |||
| 996 | (set-buffer (find-file diary-filename)) | 996 | (set-buffer (find-file diary-filename)) |
| 997 | (icalendar-export-region (point-min) (point-max) ical-filename))) | 997 | (icalendar-export-region (point-min) (point-max) ical-filename))) |
| 998 | 998 | ||
| 999 | (define-obsolete-function-alias 'icalendar-convert-diary-to-ical | ||
| 1000 | 'icalendar-export-file "22.1") | ||
| 1001 | |||
| 1002 | (defvar icalendar--uid-count 0 | 999 | (defvar icalendar--uid-count 0 |
| 1003 | "Auxiliary counter for creating unique ids.") | 1000 | "Auxiliary counter for creating unique ids.") |
| 1004 | 1001 | ||
| @@ -2027,9 +2024,6 @@ buffer `*icalendar-errors*'." | |||
| 2027 | ;; return nil, i.e. import did not work | 2024 | ;; return nil, i.e. import did not work |
| 2028 | nil))) | 2025 | nil))) |
| 2029 | 2026 | ||
| 2030 | (define-obsolete-function-alias 'icalendar-extract-ical-from-buffer | ||
| 2031 | 'icalendar-import-buffer "22.1") | ||
| 2032 | |||
| 2033 | (defun icalendar--format-ical-event (event) | 2027 | (defun icalendar--format-ical-event (event) |
| 2034 | "Create a string representation of an iCalendar EVENT." | 2028 | "Create a string representation of an iCalendar EVENT." |
| 2035 | (if (functionp icalendar-import-format) | 2029 | (if (functionp icalendar-import-format) |
diff --git a/lisp/cedet/semantic/sb.el b/lisp/cedet/semantic/sb.el index 739f6742146..443c3839bb7 100644 --- a/lisp/cedet/semantic/sb.el +++ b/lisp/cedet/semantic/sb.el | |||
| @@ -298,11 +298,7 @@ TEXT TOKEN and INDENT are the details." | |||
| 298 | "Jump to the location specified in token. | 298 | "Jump to the location specified in token. |
| 299 | TEXT TOKEN and INDENT are the details." | 299 | TEXT TOKEN and INDENT are the details." |
| 300 | (let ((file | 300 | (let ((file |
| 301 | (or | 301 | (or (speedbar-line-directory indent) |
| 302 | (cond ((fboundp 'speedbar-line-path) | ||
| 303 | (speedbar-line-directory indent)) | ||
| 304 | ((fboundp 'speedbar-line-directory) | ||
| 305 | (speedbar-line-directory indent))) | ||
| 306 | ;; If speedbar cannot figure this out, extract the filename from | 302 | ;; If speedbar cannot figure this out, extract the filename from |
| 307 | ;; the token. True for Analysis mode. | 303 | ;; the token. True for Analysis mode. |
| 308 | (semantic-tag-file-name token))) | 304 | (semantic-tag-file-name token))) |
diff --git a/lisp/comint.el b/lisp/comint.el index 838662a59a2..3182cba8663 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -429,9 +429,6 @@ See `comint-send-input'." | |||
| 429 | :type 'boolean | 429 | :type 'boolean |
| 430 | :group 'comint) | 430 | :group 'comint) |
| 431 | 431 | ||
| 432 | (define-obsolete-variable-alias 'comint-use-prompt-regexp-instead-of-fields | ||
| 433 | 'comint-use-prompt-regexp "22.1") | ||
| 434 | |||
| 435 | ;; Note: If it is decided to purge comint-prompt-regexp from the source | 432 | ;; Note: If it is decided to purge comint-prompt-regexp from the source |
| 436 | ;; entirely, searching for uses of this variable will help to identify | 433 | ;; entirely, searching for uses of this variable will help to identify |
| 437 | ;; places that need attention. | 434 | ;; places that need attention. |
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 816c7f7881a..a12897e7997 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -3790,10 +3790,6 @@ Optional EVENT is the location for the menu." | |||
| 3790 | (custom-save-all) | 3790 | (custom-save-all) |
| 3791 | (custom-face-state-set-and-redraw widget)) | 3791 | (custom-face-state-set-and-redraw widget)) |
| 3792 | 3792 | ||
| 3793 | ;; For backward compatibility. | ||
| 3794 | (define-obsolete-function-alias 'custom-face-save-command 'custom-face-save | ||
| 3795 | "22.1") | ||
| 3796 | |||
| 3797 | (defun custom-face-reset-saved (widget) | 3793 | (defun custom-face-reset-saved (widget) |
| 3798 | "Restore WIDGET to the face's default attributes. | 3794 | "Restore WIDGET to the face's default attributes. |
| 3799 | If there is a saved face, restore it; otherwise reset to the | 3795 | If there is a saved face, restore it; otherwise reset to the |
diff --git a/lisp/descr-text.el b/lisp/descr-text.el index ddd7d801d2a..d8f8188eb1e 100644 --- a/lisp/descr-text.el +++ b/lisp/descr-text.el | |||
| @@ -835,8 +835,6 @@ relevant to POS." | |||
| 835 | (if text-props-desc (insert text-props-desc)) | 835 | (if text-props-desc (insert text-props-desc)) |
| 836 | (setq buffer-read-only t)))))) | 836 | (setq buffer-read-only t)))))) |
| 837 | 837 | ||
| 838 | (define-obsolete-function-alias 'describe-char-after 'describe-char "22.1") | ||
| 839 | |||
| 840 | ;;; Describe-Char-ElDoc | 838 | ;;; Describe-Char-ElDoc |
| 841 | 839 | ||
| 842 | (defun describe-char-eldoc--truncate (name width) | 840 | (defun describe-char-eldoc--truncate (name width) |
diff --git a/lisp/desktop.el b/lisp/desktop.el index 8bd44658d85..0a1a4d5f237 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el | |||
| @@ -158,8 +158,6 @@ Used at desktop read to provide backward compatibility.") | |||
| 158 | "Save status of Emacs when you exit." | 158 | "Save status of Emacs when you exit." |
| 159 | :group 'frames) | 159 | :group 'frames) |
| 160 | 160 | ||
| 161 | ;; Maintained for backward compatibility | ||
| 162 | (define-obsolete-variable-alias 'desktop-enable 'desktop-save-mode "22.1") | ||
| 163 | ;;;###autoload | 161 | ;;;###autoload |
| 164 | (define-minor-mode desktop-save-mode | 162 | (define-minor-mode desktop-save-mode |
| 165 | "Toggle desktop saving (Desktop Save mode). | 163 | "Toggle desktop saving (Desktop Save mode). |
| @@ -248,9 +246,6 @@ the normal hook `desktop-not-loaded-hook' is run." | |||
| 248 | :group 'desktop | 246 | :group 'desktop |
| 249 | :version "22.2") | 247 | :version "22.2") |
| 250 | 248 | ||
| 251 | (define-obsolete-variable-alias 'desktop-basefilename | ||
| 252 | 'desktop-base-file-name "22.1") | ||
| 253 | |||
| 254 | (defcustom desktop-base-file-name | 249 | (defcustom desktop-base-file-name |
| 255 | (convert-standard-filename ".emacs.desktop") | 250 | (convert-standard-filename ".emacs.desktop") |
| 256 | "Name of file for Emacs desktop, excluding the directory part." | 251 | "Name of file for Emacs desktop, excluding the directory part." |
| @@ -494,10 +489,6 @@ When file names are returned, they should be formatted using the call | |||
| 494 | Later, when `desktop-read' evaluates the desktop file, auxiliary information | 489 | Later, when `desktop-read' evaluates the desktop file, auxiliary information |
| 495 | is passed as the argument DESKTOP-BUFFER-MISC to functions in | 490 | is passed as the argument DESKTOP-BUFFER-MISC to functions in |
| 496 | `desktop-buffer-mode-handlers'.") | 491 | `desktop-buffer-mode-handlers'.") |
| 497 | (make-obsolete-variable 'desktop-buffer-modes-to-save | ||
| 498 | 'desktop-save-buffer "22.1") | ||
| 499 | (make-obsolete-variable 'desktop-buffer-misc-functions | ||
| 500 | 'desktop-save-buffer "22.1") | ||
| 501 | 492 | ||
| 502 | ;;;###autoload | 493 | ;;;###autoload |
| 503 | (defvar desktop-buffer-mode-handlers nil | 494 | (defvar desktop-buffer-mode-handlers nil |
| @@ -541,8 +532,6 @@ can guess how to load the mode's definition.") | |||
| 541 | 532 | ||
| 542 | ;;;###autoload | 533 | ;;;###autoload |
| 543 | (put 'desktop-buffer-mode-handlers 'risky-local-variable t) | 534 | (put 'desktop-buffer-mode-handlers 'risky-local-variable t) |
| 544 | (make-obsolete-variable 'desktop-buffer-handlers | ||
| 545 | 'desktop-buffer-mode-handlers "22.1") | ||
| 546 | 535 | ||
| 547 | (defcustom desktop-minor-mode-table | 536 | (defcustom desktop-minor-mode-table |
| 548 | '((auto-fill-function auto-fill-mode) | 537 | '((auto-fill-function auto-fill-mode) |
| @@ -1310,17 +1299,6 @@ Using it may cause conflicts. Use it anyway? " owner))))) | |||
| 1310 | nil))) | 1299 | nil))) |
| 1311 | 1300 | ||
| 1312 | ;; ---------------------------------------------------------------------------- | 1301 | ;; ---------------------------------------------------------------------------- |
| 1313 | ;; Maintained for backward compatibility | ||
| 1314 | ;;;###autoload | ||
| 1315 | (defun desktop-load-default () | ||
| 1316 | "Load the `default' start-up library manually. | ||
| 1317 | Also inhibit further loading of it." | ||
| 1318 | (declare (obsolete desktop-save-mode "22.1")) | ||
| 1319 | (unless inhibit-default-init ; safety check | ||
| 1320 | (load "default" t t) | ||
| 1321 | (setq inhibit-default-init t))) | ||
| 1322 | |||
| 1323 | ;; ---------------------------------------------------------------------------- | ||
| 1324 | ;;;###autoload | 1302 | ;;;###autoload |
| 1325 | (defun desktop-change-dir (dirname) | 1303 | (defun desktop-change-dir (dirname) |
| 1326 | "Change to desktop saved in DIRNAME. | 1304 | "Change to desktop saved in DIRNAME. |
diff --git a/lisp/dired-x.el b/lisp/dired-x.el index fa36083e14e..a1c2f4484c5 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el | |||
| @@ -137,8 +137,6 @@ folding to be used on case-insensitive filesystems only." | |||
| 137 | (file-name-case-insensitive-p dir) | 137 | (file-name-case-insensitive-p dir) |
| 138 | dired-omit-case-fold)) | 138 | dired-omit-case-fold)) |
| 139 | 139 | ||
| 140 | ;; For backward compatibility | ||
| 141 | (define-obsolete-variable-alias 'dired-omit-files-p 'dired-omit-mode "22.1") | ||
| 142 | (define-minor-mode dired-omit-mode | 140 | (define-minor-mode dired-omit-mode |
| 143 | "Toggle omission of uninteresting files in Dired (Dired-Omit mode). | 141 | "Toggle omission of uninteresting files in Dired (Dired-Omit mode). |
| 144 | With a prefix argument ARG, enable Dired-Omit mode if ARG is | 142 | With a prefix argument ARG, enable Dired-Omit mode if ARG is |
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index 7b4a7d04f92..5274ec880cd 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el | |||
| @@ -1145,9 +1145,6 @@ write its autoloads into the specified file instead." | |||
| 1145 | ;; file-local autoload-generated-file settings. | 1145 | ;; file-local autoload-generated-file settings. |
| 1146 | (autoload-save-buffers)))) | 1146 | (autoload-save-buffers)))) |
| 1147 | 1147 | ||
| 1148 | (define-obsolete-function-alias 'update-autoloads-from-directories | ||
| 1149 | 'update-directory-autoloads "22.1") | ||
| 1150 | |||
| 1151 | ;;;###autoload | 1148 | ;;;###autoload |
| 1152 | (defun batch-update-autoloads () | 1149 | (defun batch-update-autoloads () |
| 1153 | "Update loaddefs.el autoloads in batch mode. | 1150 | "Update loaddefs.el autoloads in batch mode. |
diff --git a/lisp/emacs-lisp/derived.el b/lisp/emacs-lisp/derived.el index 547f5cd805b..6b47ffea07a 100644 --- a/lisp/emacs-lisp/derived.el +++ b/lisp/emacs-lisp/derived.el | |||
| @@ -286,19 +286,6 @@ No problems result if this variable is not bound. | |||
| 286 | ;; Run the hooks (and delayed-after-hook-functions), if any. | 286 | ;; Run the hooks (and delayed-after-hook-functions), if any. |
| 287 | (run-mode-hooks ',hook))))) | 287 | (run-mode-hooks ',hook))))) |
| 288 | 288 | ||
| 289 | ;; PUBLIC: find the ultimate class of a derived mode. | ||
| 290 | |||
| 291 | (defun derived-mode-class (mode) | ||
| 292 | "Find the class of a major MODE. | ||
| 293 | A mode's class is the first ancestor which is NOT a derived mode. | ||
| 294 | Use the `derived-mode-parent' property of the symbol to trace backwards. | ||
| 295 | Since major-modes might all derive from `fundamental-mode', this function | ||
| 296 | is not very useful." | ||
| 297 | (declare (obsolete derived-mode-p "22.1")) | ||
| 298 | (while (get mode 'derived-mode-parent) | ||
| 299 | (setq mode (get mode 'derived-mode-parent))) | ||
| 300 | mode) | ||
| 301 | |||
| 302 | 289 | ||
| 303 | ;;; PRIVATE | 290 | ;;; PRIVATE |
| 304 | 291 | ||
diff --git a/lisp/emacs-lisp/generic.el b/lisp/emacs-lisp/generic.el index e2009bf4c26..194fa1e1c24 100644 --- a/lisp/emacs-lisp/generic.el +++ b/lisp/emacs-lisp/generic.el | |||
| @@ -96,8 +96,6 @@ | |||
| 96 | ;; Internal Variables | 96 | ;; Internal Variables |
| 97 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 97 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 98 | 98 | ||
| 99 | (define-obsolete-variable-alias 'generic-font-lock-defaults | ||
| 100 | 'generic-font-lock-keywords "22.1") | ||
| 101 | (defvar generic-font-lock-keywords nil | 99 | (defvar generic-font-lock-keywords nil |
| 102 | "Keywords for `font-lock-defaults' in a generic mode.") | 100 | "Keywords for `font-lock-defaults' in a generic mode.") |
| 103 | (make-variable-buffer-local 'generic-font-lock-keywords) | 101 | (make-variable-buffer-local 'generic-font-lock-keywords) |
diff --git a/lisp/emacs-lisp/timer.el b/lisp/emacs-lisp/timer.el index b1e12b1fd56..795554fec58 100644 --- a/lisp/emacs-lisp/timer.el +++ b/lisp/emacs-lisp/timer.el | |||
| @@ -141,20 +141,6 @@ omitted, they are treated as zero." | |||
| 141 | (setf (timer--time timer) | 141 | (setf (timer--time timer) |
| 142 | (timer-relative-time (timer--time timer) secs usecs psecs))) | 142 | (timer-relative-time (timer--time timer) secs usecs psecs))) |
| 143 | 143 | ||
| 144 | (defun timer-set-time-with-usecs (timer time usecs &optional delta) | ||
| 145 | "Set the trigger time of TIMER to TIME plus USECS. | ||
| 146 | TIME must be in the internal format returned by, e.g., `current-time'. | ||
| 147 | The microsecond count from TIME is ignored, and USECS is used instead. | ||
| 148 | If optional fourth argument DELTA is a positive number, make the timer | ||
| 149 | fire repeatedly that many seconds apart." | ||
| 150 | (declare (obsolete "use `timer-set-time' and `timer-inc-time' instead." | ||
| 151 | "22.1")) | ||
| 152 | (setf (timer--time timer) time) | ||
| 153 | (setf (timer--usecs timer) usecs) | ||
| 154 | (setf (timer--psecs timer) 0) | ||
| 155 | (setf (timer--repeat-delay timer) (and (numberp delta) (> delta 0) delta)) | ||
| 156 | timer) | ||
| 157 | |||
| 158 | (defun timer-set-function (timer function &optional args) | 144 | (defun timer-set-function (timer function &optional args) |
| 159 | "Make TIMER call FUNCTION with optional ARGS when triggering." | 145 | "Make TIMER call FUNCTION with optional ARGS when triggering." |
| 160 | (timer--check timer) | 146 | (timer--check timer) |
diff --git a/lisp/emacs-lisp/unsafep.el b/lisp/emacs-lisp/unsafep.el index f6b569bc7fe..03f22ebf1a1 100644 --- a/lisp/emacs-lisp/unsafep.el +++ b/lisp/emacs-lisp/unsafep.el | |||
| @@ -93,7 +93,7 @@ in the parse.") | |||
| 93 | (put 'unsafep-vars 'risky-local-variable t) | 93 | (put 'unsafep-vars 'risky-local-variable t) |
| 94 | 94 | ||
| 95 | ;;Side-effect-free functions from subr.el | 95 | ;;Side-effect-free functions from subr.el |
| 96 | (dolist (x '(assoc-default assoc-ignore-case butlast last match-string | 96 | (dolist (x '(assoc-default butlast last match-string |
| 97 | match-string-no-properties member-ignore-case remove remq)) | 97 | match-string-no-properties member-ignore-case remove remq)) |
| 98 | (put x 'side-effect-free t)) | 98 | (put x 'side-effect-free t)) |
| 99 | 99 | ||
diff --git a/lisp/files.el b/lisp/files.el index 4b67b02c386..b887a34791a 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -473,7 +473,7 @@ location of point in the current buffer." | |||
| 473 | :group 'find-file) | 473 | :group 'find-file) |
| 474 | 474 | ||
| 475 | ;;;It is not useful to make this a local variable. | 475 | ;;;It is not useful to make this a local variable. |
| 476 | ;;;(put 'find-file-not-found-hooks 'permanent-local t) | 476 | ;;;(put 'find-file-not-found-functions 'permanent-local t) |
| 477 | (define-obsolete-variable-alias 'find-file-not-found-hooks | 477 | (define-obsolete-variable-alias 'find-file-not-found-hooks |
| 478 | 'find-file-not-found-functions "22.1") | 478 | 'find-file-not-found-functions "22.1") |
| 479 | (defvar find-file-not-found-functions nil | 479 | (defvar find-file-not-found-functions nil |
| @@ -483,7 +483,8 @@ Variable `buffer-file-name' is already set up. | |||
| 483 | The functions are called in the order given until one of them returns non-nil.") | 483 | The functions are called in the order given until one of them returns non-nil.") |
| 484 | 484 | ||
| 485 | ;;;It is not useful to make this a local variable. | 485 | ;;;It is not useful to make this a local variable. |
| 486 | ;;;(put 'find-file-hooks 'permanent-local t) | 486 | ;;;(put 'find-file-hook 'permanent-local t) |
| 487 | ;; I found some external files still using the obsolete form in 2018. | ||
| 487 | (define-obsolete-variable-alias 'find-file-hooks 'find-file-hook "22.1") | 488 | (define-obsolete-variable-alias 'find-file-hooks 'find-file-hook "22.1") |
| 488 | (defcustom find-file-hook nil | 489 | (defcustom find-file-hook nil |
| 489 | "List of functions to be called after a buffer is loaded from a file. | 490 | "List of functions to be called after a buffer is loaded from a file. |
| @@ -494,6 +495,7 @@ functions are called." | |||
| 494 | :options '(auto-insert) | 495 | :options '(auto-insert) |
| 495 | :version "22.1") | 496 | :version "22.1") |
| 496 | 497 | ||
| 498 | ;; I found some external files still using the obsolete form in 2018. | ||
| 497 | (define-obsolete-variable-alias 'write-file-hooks 'write-file-functions "22.1") | 499 | (define-obsolete-variable-alias 'write-file-hooks 'write-file-functions "22.1") |
| 498 | (defvar write-file-functions nil | 500 | (defvar write-file-functions nil |
| 499 | "List of functions to be called before saving a buffer to a file. | 501 | "List of functions to be called before saving a buffer to a file. |
| @@ -513,6 +515,7 @@ node `(elisp)Saving Buffers'.) To perform various checks or | |||
| 513 | updates before the buffer is saved, use `before-save-hook'.") | 515 | updates before the buffer is saved, use `before-save-hook'.") |
| 514 | (put 'write-file-functions 'permanent-local t) | 516 | (put 'write-file-functions 'permanent-local t) |
| 515 | 517 | ||
| 518 | ;; I found some files still using the obsolete form in 2018. | ||
| 516 | (defvar local-write-file-hooks nil) | 519 | (defvar local-write-file-hooks nil) |
| 517 | (make-variable-buffer-local 'local-write-file-hooks) | 520 | (make-variable-buffer-local 'local-write-file-hooks) |
| 518 | (put 'local-write-file-hooks 'permanent-local t) | 521 | (put 'local-write-file-hooks 'permanent-local t) |
diff --git a/lisp/frame.el b/lisp/frame.el index 0cf502d5066..fbf2f6e7730 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -614,9 +614,6 @@ frame.") | |||
| 614 | (defvar after-setting-font-hook nil | 614 | (defvar after-setting-font-hook nil |
| 615 | "Functions to run after a frame's font has been changed.") | 615 | "Functions to run after a frame's font has been changed.") |
| 616 | 616 | ||
| 617 | ;; Alias, kept temporarily. | ||
| 618 | (define-obsolete-function-alias 'new-frame 'make-frame "22.1") | ||
| 619 | |||
| 620 | (defvar frame-inherited-parameters '() | 617 | (defvar frame-inherited-parameters '() |
| 621 | "Parameters `make-frame' copies from the selected to the new frame.") | 618 | "Parameters `make-frame' copies from the selected to the new frame.") |
| 622 | 619 | ||
| @@ -1147,8 +1144,6 @@ FRAME defaults to the selected frame." | |||
| 1147 | (declare-function x-list-fonts "xfaces.c" | 1144 | (declare-function x-list-fonts "xfaces.c" |
| 1148 | (pattern &optional face frame maximum width)) | 1145 | (pattern &optional face frame maximum width)) |
| 1149 | 1146 | ||
| 1150 | (define-obsolete-function-alias 'set-default-font 'set-frame-font "23.1") | ||
| 1151 | |||
| 1152 | (defun set-frame-font (font &optional keep-size frames) | 1147 | (defun set-frame-font (font &optional keep-size frames) |
| 1153 | "Set the default font to FONT. | 1148 | "Set the default font to FONT. |
| 1154 | When called interactively, prompt for the name of a font, and use | 1149 | When called interactively, prompt for the name of a font, and use |
| @@ -2113,10 +2108,6 @@ a live frame and defaults to the selected one." | |||
| 2113 | (delete-frame this)) | 2108 | (delete-frame this)) |
| 2114 | (setq this next)))) | 2109 | (setq this next)))) |
| 2115 | 2110 | ||
| 2116 | ;; miscellaneous obsolescence declarations | ||
| 2117 | (define-obsolete-variable-alias 'delete-frame-hook | ||
| 2118 | 'delete-frame-functions "22.1") | ||
| 2119 | |||
| 2120 | 2111 | ||
| 2121 | ;;; Window dividers. | 2112 | ;;; Window dividers. |
| 2122 | (defgroup window-divider nil | 2113 | (defgroup window-divider nil |
| @@ -2352,8 +2343,6 @@ This is done when a frame gets focus. Blink timers may be stopped by | |||
| 2352 | (remove-hook 'post-command-hook 'blink-cursor-check) | 2343 | (remove-hook 'post-command-hook 'blink-cursor-check) |
| 2353 | (blink-cursor--start-idle-timer))) | 2344 | (blink-cursor--start-idle-timer))) |
| 2354 | 2345 | ||
| 2355 | (define-obsolete-variable-alias 'blink-cursor 'blink-cursor-mode "22.1") | ||
| 2356 | |||
| 2357 | (define-minor-mode blink-cursor-mode | 2346 | (define-minor-mode blink-cursor-mode |
| 2358 | "Toggle cursor blinking (Blink Cursor mode). | 2347 | "Toggle cursor blinking (Blink Cursor mode). |
| 2359 | With a prefix argument ARG, enable Blink Cursor mode if ARG is | 2348 | With a prefix argument ARG, enable Blink Cursor mode if ARG is |
diff --git a/lisp/generic-x.el b/lisp/generic-x.el index 3e3ddc5ceb9..d8a7fe3a735 100644 --- a/lisp/generic-x.el +++ b/lisp/generic-x.el | |||
| @@ -241,30 +241,11 @@ This hook will be installed if the variable | |||
| 241 | spice-generic-mode) | 241 | spice-generic-mode) |
| 242 | "List of generic modes that are not defined by default.") | 242 | "List of generic modes that are not defined by default.") |
| 243 | 243 | ||
| 244 | (defcustom generic-define-mswindows-modes | ||
| 245 | (memq system-type '(windows-nt ms-dos)) | ||
| 246 | "Non-nil means the modes in `generic-mswindows-modes' will be defined. | ||
| 247 | This is a list of MS-Windows specific generic modes. This variable | ||
| 248 | only affects the default value of `generic-extras-enable-list'." | ||
| 249 | :group 'generic-x | ||
| 250 | :type 'boolean | ||
| 251 | :version "22.1") | ||
| 252 | (make-obsolete-variable 'generic-define-mswindows-modes 'generic-extras-enable-list "22.1") | ||
| 253 | |||
| 254 | (defcustom generic-define-unix-modes | ||
| 255 | (not (memq system-type '(windows-nt ms-dos))) | ||
| 256 | "Non-nil means the modes in `generic-unix-modes' will be defined. | ||
| 257 | This is a list of Unix specific generic modes. This variable only | ||
| 258 | affects the default value of `generic-extras-enable-list'." | ||
| 259 | :group 'generic-x | ||
| 260 | :type 'boolean | ||
| 261 | :version "22.1") | ||
| 262 | (make-obsolete-variable 'generic-define-unix-modes 'generic-extras-enable-list "22.1") | ||
| 263 | |||
| 264 | (defcustom generic-extras-enable-list | 244 | (defcustom generic-extras-enable-list |
| 265 | (append generic-default-modes | 245 | (append generic-default-modes |
| 266 | (if generic-define-mswindows-modes generic-mswindows-modes) | 246 | (if (memq system-type '(windows-nt ms-dos)) |
| 267 | (if generic-define-unix-modes generic-unix-modes) | 247 | generic-mswindows-modes |
| 248 | generic-unix-modes) | ||
| 268 | nil) | 249 | nil) |
| 269 | "List of generic modes to define. | 250 | "List of generic modes to define. |
| 270 | Each entry in the list should be a symbol. If you set this variable | 251 | Each entry in the list should be a symbol. If you set this variable |
diff --git a/lisp/gnus/spam.el b/lisp/gnus/spam.el index 71a69cb5f01..97e63404c4f 100644 --- a/lisp/gnus/spam.el +++ b/lisp/gnus/spam.el | |||
| @@ -1244,73 +1244,40 @@ Will not return a nil score." | |||
| 1244 | (setq found backend))) | 1244 | (setq found backend))) |
| 1245 | found)) | 1245 | found)) |
| 1246 | 1246 | ||
| 1247 | (defvar spam-list-of-processors | ||
| 1248 | ;; note the nil processors are not defined in gnus.el | ||
| 1249 | '((gnus-group-spam-exit-processor-bogofilter spam spam-use-bogofilter) | ||
| 1250 | (gnus-group-spam-exit-processor-bsfilter spam spam-use-bsfilter) | ||
| 1251 | (gnus-group-spam-exit-processor-blacklist spam spam-use-blacklist) | ||
| 1252 | (gnus-group-spam-exit-processor-ifile spam spam-use-ifile) | ||
| 1253 | (gnus-group-spam-exit-processor-stat spam spam-use-stat) | ||
| 1254 | (gnus-group-spam-exit-processor-spamoracle spam spam-use-spamoracle) | ||
| 1255 | (gnus-group-spam-exit-processor-spamassassin spam spam-use-spamassassin) | ||
| 1256 | (gnus-group-spam-exit-processor-report-gmane spam spam-use-gmane) ;; Buggy? | ||
| 1257 | (gnus-group-ham-exit-processor-ifile ham spam-use-ifile) | ||
| 1258 | (gnus-group-ham-exit-processor-bogofilter ham spam-use-bogofilter) | ||
| 1259 | (gnus-group-ham-exit-processor-bsfilter ham spam-use-bsfilter) | ||
| 1260 | (gnus-group-ham-exit-processor-stat ham spam-use-stat) | ||
| 1261 | (gnus-group-ham-exit-processor-whitelist ham spam-use-whitelist) | ||
| 1262 | (gnus-group-ham-exit-processor-BBDB ham spam-use-BBDB) | ||
| 1263 | (gnus-group-ham-exit-processor-copy ham spam-use-ham-copy) | ||
| 1264 | (gnus-group-ham-exit-processor-spamassassin ham spam-use-spamassassin) | ||
| 1265 | (gnus-group-ham-exit-processor-spamoracle ham spam-use-spamoracle)) | ||
| 1266 | "The OBSOLETE `spam-list-of-processors' list. | ||
| 1267 | This list contains pairs associating the obsolete ham/spam exit | ||
| 1268 | processor variables with a classification and a spam-use-* | ||
| 1269 | variable. When the processor variable is nil, just the | ||
| 1270 | classification and spam-use-* check variable are used. This is | ||
| 1271 | superseded by the new spam backend code, so it's only consulted | ||
| 1272 | for backwards compatibility.") | ||
| 1273 | (make-obsolete-variable 'spam-list-of-processors nil "22.1") | ||
| 1274 | |||
| 1275 | (defun spam-group-processor-p (group backend &optional classification) | 1247 | (defun spam-group-processor-p (group backend &optional classification) |
| 1276 | "Checks if GROUP has a BACKEND with CLASSIFICATION registered. | 1248 | "Checks if GROUP has a BACKEND with CLASSIFICATION registered. |
| 1277 | Also accepts the obsolete processors, which can be found in | 1249 | In the case of mover backends, checks the setting of |
| 1278 | gnus.el and in spam-list-of-processors. In the case of mover | 1250 | `spam-summary-exit-behavior' in addition to the set values for the group." |
| 1279 | backends, checks the setting of `spam-summary-exit-behavior' in | ||
| 1280 | addition to the set values for the group." | ||
| 1281 | (if (and (stringp group) | 1251 | (if (and (stringp group) |
| 1282 | (symbolp backend)) | 1252 | (symbolp backend)) |
| 1283 | (let ((old-style (assq backend spam-list-of-processors)) | 1253 | (let ((parameters (nth 0 (gnus-parameter-spam-process group))) |
| 1284 | (parameters (nth 0 (gnus-parameter-spam-process group))) | ||
| 1285 | found) | 1254 | found) |
| 1286 | (if old-style ; old-style processor | 1255 | ;; now search for the parameter |
| 1287 | (spam-group-processor-p group (nth 2 old-style) (nth 1 old-style)) | 1256 | (dolist (parameter parameters) |
| 1288 | ;; now search for the parameter | 1257 | (when (and (null found) |
| 1289 | (dolist (parameter parameters) | 1258 | (listp parameter) |
| 1290 | (when (and (null found) | 1259 | (eq classification (nth 0 parameter)) |
| 1291 | (listp parameter) | 1260 | (eq backend (nth 1 parameter))) |
| 1292 | (eq classification (nth 0 parameter)) | 1261 | (setq found t))) |
| 1293 | (eq backend (nth 1 parameter))) | 1262 | |
| 1294 | (setq found t))) | 1263 | ;; now, if the parameter was not found, do the |
| 1295 | 1264 | ;; spam-summary-exit-behavior-logic for mover backends | |
| 1296 | ;; now, if the parameter was not found, do the | 1265 | (unless found |
| 1297 | ;; spam-summary-exit-behavior-logic for mover backends | 1266 | (when (spam-backend-mover-p backend) |
| 1298 | (unless found | 1267 | (setq |
| 1299 | (when (spam-backend-mover-p backend) | 1268 | found |
| 1300 | (setq | 1269 | (cond |
| 1301 | found | 1270 | ((eq spam-summary-exit-behavior 'move-all) t) |
| 1302 | (cond | 1271 | ((eq spam-summary-exit-behavior 'move-none) nil) |
| 1303 | ((eq spam-summary-exit-behavior 'move-all) t) | 1272 | ((eq spam-summary-exit-behavior 'default) |
| 1304 | ((eq spam-summary-exit-behavior 'move-none) nil) | 1273 | (or (eq classification 'spam) ;move spam out of all groups |
| 1305 | ((eq spam-summary-exit-behavior 'default) | 1274 | ;; move ham out of spam groups |
| 1306 | (or (eq classification 'spam) ;move spam out of all groups | 1275 | (and (eq classification 'ham) |
| 1307 | ;; move ham out of spam groups | 1276 | (spam-group-spam-contents-p group)))) |
| 1308 | (and (eq classification 'ham) | 1277 | (t (gnus-error 5 "Unknown spam-summary-exit-behavior: %s" |
| 1309 | (spam-group-spam-contents-p group)))) | 1278 | spam-summary-exit-behavior)))))) |
| 1310 | (t (gnus-error 5 "Unknown spam-summary-exit-behavior: %s" | 1279 | |
| 1311 | spam-summary-exit-behavior)))))) | 1280 | found) |
| 1312 | |||
| 1313 | found)) | ||
| 1314 | nil)) | 1281 | nil)) |
| 1315 | 1282 | ||
| 1316 | ;;}}} | 1283 | ;;}}} |
diff --git a/lisp/help.el b/lisp/help.el index e9235460329..0830dc5d3cf 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -308,8 +308,6 @@ If that doesn't give a function, return nil." | |||
| 308 | (interactive) | 308 | (interactive) |
| 309 | (browse-url "https://www.gnu.org/gnu/thegnuproject.html")) | 309 | (browse-url "https://www.gnu.org/gnu/thegnuproject.html")) |
| 310 | 310 | ||
| 311 | (define-obsolete-function-alias 'describe-project 'describe-gnu-project "22.2") | ||
| 312 | |||
| 313 | (defun describe-no-warranty () | 311 | (defun describe-no-warranty () |
| 314 | "Display info on all the kinds of warranty Emacs does NOT have." | 312 | "Display info on all the kinds of warranty Emacs does NOT have." |
| 315 | (interactive) | 313 | (interactive) |
| @@ -413,9 +411,6 @@ With argument, display info only for the selected version." | |||
| 413 | (interactive "P") | 411 | (interactive "P") |
| 414 | (view-help-file "TODO")) | 412 | (view-help-file "TODO")) |
| 415 | 413 | ||
| 416 | (define-obsolete-function-alias 'view-todo 'view-emacs-todo "22.2") | ||
| 417 | |||
| 418 | |||
| 419 | (defun view-echo-area-messages () | 414 | (defun view-echo-area-messages () |
| 420 | "View the log of recent echo-area messages: the `*Messages*' buffer. | 415 | "View the log of recent echo-area messages: the `*Messages*' buffer. |
| 421 | The number of messages retained in that buffer | 416 | The number of messages retained in that buffer |
diff --git a/lisp/hilit-chg.el b/lisp/hilit-chg.el index de1ae0d4570..7c5294fa17e 100644 --- a/lisp/hilit-chg.el +++ b/lisp/hilit-chg.el | |||
| @@ -204,9 +204,6 @@ | |||
| 204 | :group 'highlight-changes) | 204 | :group 'highlight-changes) |
| 205 | 205 | ||
| 206 | ;; A (not very good) default list of colors to rotate through. | 206 | ;; A (not very good) default list of colors to rotate through. |
| 207 | (define-obsolete-variable-alias 'highlight-changes-colours | ||
| 208 | 'highlight-changes-colors "22.1") | ||
| 209 | |||
| 210 | (defcustom highlight-changes-colors | 207 | (defcustom highlight-changes-colors |
| 211 | (if (eq (frame-parameter nil 'background-mode) 'light) | 208 | (if (eq (frame-parameter nil 'background-mode) 'light) |
| 212 | ;; defaults for light background: | 209 | ;; defaults for light background: |
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el index 38fffcb976b..0fd29719344 100644 --- a/lisp/ibuffer.el +++ b/lisp/ibuffer.el | |||
| @@ -224,14 +224,6 @@ view of the buffers." | |||
| 224 | :group 'ibuffer) | 224 | :group 'ibuffer) |
| 225 | (defvar ibuffer-sorting-reversep nil) | 225 | (defvar ibuffer-sorting-reversep nil) |
| 226 | 226 | ||
| 227 | (defcustom ibuffer-elide-long-columns nil | ||
| 228 | "If non-nil, then elide column entries which exceed their max length." | ||
| 229 | :type 'boolean | ||
| 230 | :group 'ibuffer) | ||
| 231 | (make-obsolete-variable 'ibuffer-elide-long-columns | ||
| 232 | "use the :elide argument of `ibuffer-formats'." | ||
| 233 | "22.1") | ||
| 234 | |||
| 235 | (defcustom ibuffer-eliding-string "..." | 227 | (defcustom ibuffer-eliding-string "..." |
| 236 | "The string to use for eliding long columns." | 228 | "The string to use for eliding long columns." |
| 237 | :type 'string | 229 | :type 'string |
| @@ -349,15 +341,11 @@ directory, like `default-directory'." | |||
| 349 | :type 'regexp | 341 | :type 'regexp |
| 350 | :group 'ibuffer) | 342 | :group 'ibuffer) |
| 351 | 343 | ||
| 352 | (define-obsolete-variable-alias 'ibuffer-hooks 'ibuffer-hook "22.1") | ||
| 353 | |||
| 354 | (defcustom ibuffer-hook nil | 344 | (defcustom ibuffer-hook nil |
| 355 | "Hook run when `ibuffer' is called." | 345 | "Hook run when `ibuffer' is called." |
| 356 | :type 'hook | 346 | :type 'hook |
| 357 | :group 'ibuffer) | 347 | :group 'ibuffer) |
| 358 | 348 | ||
| 359 | (define-obsolete-variable-alias 'ibuffer-mode-hooks 'ibuffer-mode-hook "22.1") | ||
| 360 | |||
| 361 | (defcustom ibuffer-mode-hook nil | 349 | (defcustom ibuffer-mode-hook nil |
| 362 | "Hook run upon entry into `ibuffer-mode'." | 350 | "Hook run upon entry into `ibuffer-mode'." |
| 363 | :type 'hook | 351 | :type 'hook |
| @@ -952,7 +940,6 @@ directory, like `default-directory'." | |||
| 952 | (defvar ibuffer-compiled-formats nil) | 940 | (defvar ibuffer-compiled-formats nil) |
| 953 | (defvar ibuffer-cached-formats nil) | 941 | (defvar ibuffer-cached-formats nil) |
| 954 | (defvar ibuffer-cached-eliding-string nil) | 942 | (defvar ibuffer-cached-eliding-string nil) |
| 955 | (defvar ibuffer-cached-elide-long-columns 0) | ||
| 956 | 943 | ||
| 957 | (defvar ibuffer-sorting-functions-alist nil | 944 | (defvar ibuffer-sorting-functions-alist nil |
| 958 | "An alist of functions which describe how to sort buffers. | 945 | "An alist of functions which describe how to sort buffers. |
| @@ -1589,7 +1576,7 @@ If point is on a group name, this function operates on that group." | |||
| 1589 | 1576 | ||
| 1590 | (defun ibuffer-compile-make-eliding-form (strvar elide from-end-p) | 1577 | (defun ibuffer-compile-make-eliding-form (strvar elide from-end-p) |
| 1591 | (let ((ellipsis (propertize ibuffer-eliding-string 'font-lock-face 'bold))) | 1578 | (let ((ellipsis (propertize ibuffer-eliding-string 'font-lock-face 'bold))) |
| 1592 | (if (or elide (with-no-warnings ibuffer-elide-long-columns)) | 1579 | (if elide |
| 1593 | `(if (> strlen 5) | 1580 | `(if (> strlen 5) |
| 1594 | ,(if from-end-p | 1581 | ,(if from-end-p |
| 1595 | ;; FIXME: this should probably also be using | 1582 | ;; FIXME: this should probably also be using |
| @@ -1789,9 +1776,6 @@ If point is on a group name, this function operates on that group." | |||
| 1789 | (not (eq ibuffer-cached-formats ibuffer-formats)) | 1776 | (not (eq ibuffer-cached-formats ibuffer-formats)) |
| 1790 | (null ibuffer-cached-eliding-string) | 1777 | (null ibuffer-cached-eliding-string) |
| 1791 | (not (equal ibuffer-cached-eliding-string ibuffer-eliding-string)) | 1778 | (not (equal ibuffer-cached-eliding-string ibuffer-eliding-string)) |
| 1792 | (eql 0 ibuffer-cached-elide-long-columns) | ||
| 1793 | (not (eql ibuffer-cached-elide-long-columns | ||
| 1794 | (with-no-warnings ibuffer-elide-long-columns))) | ||
| 1795 | (and ext-loaded | 1779 | (and ext-loaded |
| 1796 | (not (eq ibuffer-cached-filter-formats | 1780 | (not (eq ibuffer-cached-filter-formats |
| 1797 | ibuffer-filter-format-alist)) | 1781 | ibuffer-filter-format-alist)) |
| @@ -1800,8 +1784,7 @@ If point is on a group name, this function operates on that group." | |||
| 1800 | (message "Formats have changed, recompiling...") | 1784 | (message "Formats have changed, recompiling...") |
| 1801 | (ibuffer-recompile-formats) | 1785 | (ibuffer-recompile-formats) |
| 1802 | (setq ibuffer-cached-formats ibuffer-formats | 1786 | (setq ibuffer-cached-formats ibuffer-formats |
| 1803 | ibuffer-cached-eliding-string ibuffer-eliding-string | 1787 | ibuffer-cached-eliding-string ibuffer-eliding-string) |
| 1804 | ibuffer-cached-elide-long-columns (with-no-warnings ibuffer-elide-long-columns)) | ||
| 1805 | (when ext-loaded | 1788 | (when ext-loaded |
| 1806 | (setq ibuffer-cached-filter-formats ibuffer-filter-format-alist)) | 1789 | (setq ibuffer-cached-filter-formats ibuffer-filter-format-alist)) |
| 1807 | (message "Formats have changed, recompiling...done")))) | 1790 | (message "Formats have changed, recompiling...done")))) |
| @@ -2746,7 +2729,6 @@ will be inserted before the group at point." | |||
| 2746 | (set (make-local-variable 'ibuffer-compiled-formats) nil) | 2729 | (set (make-local-variable 'ibuffer-compiled-formats) nil) |
| 2747 | (set (make-local-variable 'ibuffer-cached-formats) nil) | 2730 | (set (make-local-variable 'ibuffer-cached-formats) nil) |
| 2748 | (set (make-local-variable 'ibuffer-cached-eliding-string) nil) | 2731 | (set (make-local-variable 'ibuffer-cached-eliding-string) nil) |
| 2749 | (set (make-local-variable 'ibuffer-cached-elide-long-columns) nil) | ||
| 2750 | (set (make-local-variable 'ibuffer-current-format) nil) | 2732 | (set (make-local-variable 'ibuffer-current-format) nil) |
| 2751 | (set (make-local-variable 'ibuffer-did-modification) nil) | 2733 | (set (make-local-variable 'ibuffer-did-modification) nil) |
| 2752 | (set (make-local-variable 'ibuffer-tmp-hide-regexps) nil) | 2734 | (set (make-local-variable 'ibuffer-tmp-hide-regexps) nil) |
diff --git a/lisp/imenu.el b/lisp/imenu.el index f56e7b50396..b4d7d903595 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el | |||
| @@ -102,14 +102,7 @@ This variable is buffer-local." | |||
| 102 | :type 'integer | 102 | :type 'integer |
| 103 | :group 'imenu) | 103 | :group 'imenu) |
| 104 | 104 | ||
| 105 | (defvar imenu-always-use-completion-buffer-p nil) | 105 | (defcustom imenu-use-popup-menu 'on-mouse |
| 106 | (make-obsolete-variable 'imenu-always-use-completion-buffer-p | ||
| 107 | 'imenu-use-popup-menu "22.1") | ||
| 108 | |||
| 109 | (defcustom imenu-use-popup-menu | ||
| 110 | (if imenu-always-use-completion-buffer-p | ||
| 111 | (not (eq imenu-always-use-completion-buffer-p 'never)) | ||
| 112 | 'on-mouse) | ||
| 113 | "Use a popup menu rather than a minibuffer prompt. | 106 | "Use a popup menu rather than a minibuffer prompt. |
| 114 | If nil, always use a minibuffer prompt. | 107 | If nil, always use a minibuffer prompt. |
| 115 | If t, always use a popup menu, | 108 | If t, always use a popup menu, |
| @@ -119,8 +112,7 @@ If `on-mouse' use a popup menu when `imenu' was invoked with the mouse." | |||
| 119 | (other :tag "Always" t)) | 112 | (other :tag "Always" t)) |
| 120 | :group 'imenu) | 113 | :group 'imenu) |
| 121 | 114 | ||
| 122 | (defcustom imenu-eager-completion-buffer | 115 | (defcustom imenu-eager-completion-buffer t |
| 123 | (not (eq imenu-always-use-completion-buffer-p 'never)) | ||
| 124 | "If non-nil, eagerly popup the completion buffer." | 116 | "If non-nil, eagerly popup the completion buffer." |
| 125 | :type 'boolean | 117 | :type 'boolean |
| 126 | :group 'imenu | 118 | :group 'imenu |
diff --git a/lisp/international/latin1-disp.el b/lisp/international/latin1-disp.el index 657f79097cd..df2c1dc9a82 100644 --- a/lisp/international/latin1-disp.el +++ b/lisp/international/latin1-disp.el | |||
| @@ -201,10 +201,6 @@ character set: `latin-2', `hebrew' etc." | |||
| 201 | (char (and info (decode-char (car (remq 'ascii info)) ?\ )))) | 201 | (char (and info (decode-char (car (remq 'ascii info)) ?\ )))) |
| 202 | (and char (char-displayable-p char)))) | 202 | (and char (char-displayable-p char)))) |
| 203 | 203 | ||
| 204 | ;; Backwards compatibility. | ||
| 205 | (define-obsolete-function-alias 'latin1-char-displayable-p | ||
| 206 | 'char-displayable-p "22.1") | ||
| 207 | |||
| 208 | (defun latin1-display-setup (set &optional force) | 204 | (defun latin1-display-setup (set &optional force) |
| 209 | "Set up Latin-1 display for characters in the given SET. | 205 | "Set up Latin-1 display for characters in the given SET. |
| 210 | SET must be a member of `latin1-display-sets'. Normally, check | 206 | SET must be a member of `latin1-display-sets'. Normally, check |
diff --git a/lisp/isearch.el b/lisp/isearch.el index 4f5f4948757..84b121af9ef 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -323,10 +323,6 @@ this variable is set to the symbol `all-windows'." | |||
| 323 | :group 'isearch | 323 | :group 'isearch |
| 324 | :group 'matching) | 324 | :group 'matching) |
| 325 | 325 | ||
| 326 | (define-obsolete-variable-alias 'isearch-lazy-highlight-cleanup | ||
| 327 | 'lazy-highlight-cleanup | ||
| 328 | "22.1") | ||
| 329 | |||
| 330 | (defcustom lazy-highlight-cleanup t | 326 | (defcustom lazy-highlight-cleanup t |
| 331 | "Controls whether to remove extra highlighting after a search. | 327 | "Controls whether to remove extra highlighting after a search. |
| 332 | If this is nil, extra highlighting can be \"manually\" removed with | 328 | If this is nil, extra highlighting can be \"manually\" removed with |
| @@ -334,28 +330,16 @@ If this is nil, extra highlighting can be \"manually\" removed with | |||
| 334 | :type 'boolean | 330 | :type 'boolean |
| 335 | :group 'lazy-highlight) | 331 | :group 'lazy-highlight) |
| 336 | 332 | ||
| 337 | (define-obsolete-variable-alias 'isearch-lazy-highlight-initial-delay | ||
| 338 | 'lazy-highlight-initial-delay | ||
| 339 | "22.1") | ||
| 340 | |||
| 341 | (defcustom lazy-highlight-initial-delay 0.25 | 333 | (defcustom lazy-highlight-initial-delay 0.25 |
| 342 | "Seconds to wait before beginning to lazily highlight all matches." | 334 | "Seconds to wait before beginning to lazily highlight all matches." |
| 343 | :type 'number | 335 | :type 'number |
| 344 | :group 'lazy-highlight) | 336 | :group 'lazy-highlight) |
| 345 | 337 | ||
| 346 | (define-obsolete-variable-alias 'isearch-lazy-highlight-interval | ||
| 347 | 'lazy-highlight-interval | ||
| 348 | "22.1") | ||
| 349 | |||
| 350 | (defcustom lazy-highlight-interval 0 ; 0.0625 | 338 | (defcustom lazy-highlight-interval 0 ; 0.0625 |
| 351 | "Seconds between lazily highlighting successive matches." | 339 | "Seconds between lazily highlighting successive matches." |
| 352 | :type 'number | 340 | :type 'number |
| 353 | :group 'lazy-highlight) | 341 | :group 'lazy-highlight) |
| 354 | 342 | ||
| 355 | (define-obsolete-variable-alias 'isearch-lazy-highlight-max-at-a-time | ||
| 356 | 'lazy-highlight-max-at-a-time | ||
| 357 | "22.1") | ||
| 358 | |||
| 359 | (defcustom lazy-highlight-max-at-a-time nil ; 20 (bug#25751) | 343 | (defcustom lazy-highlight-max-at-a-time nil ; 20 (bug#25751) |
| 360 | "Maximum matches to highlight at a time (for `lazy-highlight'). | 344 | "Maximum matches to highlight at a time (for `lazy-highlight'). |
| 361 | Larger values may reduce Isearch's responsiveness to user input; | 345 | Larger values may reduce Isearch's responsiveness to user input; |
| @@ -3202,10 +3186,6 @@ This function is called when exiting an incremental search if | |||
| 3202 | (cancel-timer isearch-lazy-highlight-timer) | 3186 | (cancel-timer isearch-lazy-highlight-timer) |
| 3203 | (setq isearch-lazy-highlight-timer nil))) | 3187 | (setq isearch-lazy-highlight-timer nil))) |
| 3204 | 3188 | ||
| 3205 | (define-obsolete-function-alias 'isearch-lazy-highlight-cleanup | ||
| 3206 | 'lazy-highlight-cleanup | ||
| 3207 | "22.1") | ||
| 3208 | |||
| 3209 | (defun isearch-lazy-highlight-new-loop (&optional beg end) | 3189 | (defun isearch-lazy-highlight-new-loop (&optional beg end) |
| 3210 | "Cleanup any previous `lazy-highlight' loop and begin a new one. | 3190 | "Cleanup any previous `lazy-highlight' loop and begin a new one. |
| 3211 | BEG and END specify the bounds within which highlighting should occur. | 3191 | BEG and END specify the bounds within which highlighting should occur. |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 4e5873c06ee..f2fdcb6367b 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -191,9 +191,6 @@ Its name should end with a slash." | |||
| 191 | :group 'rmail-retrieve | 191 | :group 'rmail-retrieve |
| 192 | :type '(choice (const nil) string)) | 192 | :type '(choice (const nil) string)) |
| 193 | 193 | ||
| 194 | (define-obsolete-variable-alias 'rmail-pop-password | ||
| 195 | 'rmail-remote-password "22.1") | ||
| 196 | |||
| 197 | (defcustom rmail-remote-password nil | 194 | (defcustom rmail-remote-password nil |
| 198 | "Password to use when reading mail from a remote server. | 195 | "Password to use when reading mail from a remote server. |
| 199 | This setting is ignored for mailboxes whose URL already contains a password." | 196 | This setting is ignored for mailboxes whose URL already contains a password." |
| @@ -202,9 +199,6 @@ This setting is ignored for mailboxes whose URL already contains a password." | |||
| 202 | :group 'rmail-retrieve | 199 | :group 'rmail-retrieve |
| 203 | :version "22.1") | 200 | :version "22.1") |
| 204 | 201 | ||
| 205 | (define-obsolete-variable-alias 'rmail-pop-password-required | ||
| 206 | 'rmail-remote-password-required "22.1") | ||
| 207 | |||
| 208 | (defcustom rmail-remote-password-required nil | 202 | (defcustom rmail-remote-password-required nil |
| 209 | "Non-nil if a password is required when reading mail from a remote server." | 203 | "Non-nil if a password is required when reading mail from a remote server." |
| 210 | :type 'boolean | 204 | :type 'boolean |
diff --git a/lisp/mwheel.el b/lisp/mwheel.el index 44c4989ad06..f055df9ee87 100644 --- a/lisp/mwheel.el +++ b/lisp/mwheel.el | |||
| @@ -52,38 +52,25 @@ | |||
| 52 | ;; Sync the bindings. | 52 | ;; Sync the bindings. |
| 53 | (when (bound-and-true-p mouse-wheel-mode) (mouse-wheel-mode 1))) | 53 | (when (bound-and-true-p mouse-wheel-mode) (mouse-wheel-mode 1))) |
| 54 | 54 | ||
| 55 | (defvar mouse-wheel-down-button 4) | ||
| 56 | (make-obsolete-variable 'mouse-wheel-down-button | ||
| 57 | 'mouse-wheel-down-event | ||
| 58 | "22.1") | ||
| 59 | (defcustom mouse-wheel-down-event | 55 | (defcustom mouse-wheel-down-event |
| 60 | (if (or (featurep 'w32-win) (featurep 'ns-win)) | 56 | (if (or (featurep 'w32-win) (featurep 'ns-win)) |
| 61 | 'wheel-up | 57 | 'wheel-up |
| 62 | (intern (format "mouse-%s" mouse-wheel-down-button))) | 58 | 'mouse-4) |
| 63 | "Event used for scrolling down." | 59 | "Event used for scrolling down." |
| 64 | :group 'mouse | 60 | :group 'mouse |
| 65 | :type 'symbol | 61 | :type 'symbol |
| 66 | :set 'mouse-wheel-change-button) | 62 | :set 'mouse-wheel-change-button) |
| 67 | 63 | ||
| 68 | (defvar mouse-wheel-up-button 5) | ||
| 69 | (make-obsolete-variable 'mouse-wheel-up-button | ||
| 70 | 'mouse-wheel-up-event | ||
| 71 | "22.1") | ||
| 72 | (defcustom mouse-wheel-up-event | 64 | (defcustom mouse-wheel-up-event |
| 73 | (if (or (featurep 'w32-win) (featurep 'ns-win)) | 65 | (if (or (featurep 'w32-win) (featurep 'ns-win)) |
| 74 | 'wheel-down | 66 | 'wheel-down |
| 75 | (intern (format "mouse-%s" mouse-wheel-up-button))) | 67 | 'mouse-5) |
| 76 | "Event used for scrolling up." | 68 | "Event used for scrolling up." |
| 77 | :group 'mouse | 69 | :group 'mouse |
| 78 | :type 'symbol | 70 | :type 'symbol |
| 79 | :set 'mouse-wheel-change-button) | 71 | :set 'mouse-wheel-change-button) |
| 80 | 72 | ||
| 81 | (defvar mouse-wheel-click-button 2) | 73 | (defcustom mouse-wheel-click-event 'mouse-2 |
| 82 | (make-obsolete-variable 'mouse-wheel-click-button | ||
| 83 | 'mouse-wheel-click-event | ||
| 84 | "22.1") | ||
| 85 | (defcustom mouse-wheel-click-event | ||
| 86 | (intern (format "mouse-%s" mouse-wheel-click-button)) | ||
| 87 | "Event that should be temporarily inhibited after mouse scrolling. | 74 | "Event that should be temporarily inhibited after mouse scrolling. |
| 88 | The mouse wheel is typically on the mouse-2 button, so it may easily | 75 | The mouse wheel is typically on the mouse-2 button, so it may easily |
| 89 | happen that text is accidentally yanked into the buffer when | 76 | happen that text is accidentally yanked into the buffer when |
diff --git a/lisp/net/goto-addr.el b/lisp/net/goto-addr.el index ed615d10eb6..cc1cdd15184 100644 --- a/lisp/net/goto-addr.el +++ b/lisp/net/goto-addr.el | |||
| @@ -221,10 +221,6 @@ and `goto-address-fontify-p'." | |||
| 221 | ;; snarfed from browse-url.el | 221 | ;; snarfed from browse-url.el |
| 222 | 222 | ||
| 223 | ;;;###autoload | 223 | ;;;###autoload |
| 224 | (define-obsolete-function-alias | ||
| 225 | 'goto-address-at-mouse 'goto-address-at-point "22.1") | ||
| 226 | |||
| 227 | ;;;###autoload | ||
| 228 | (defun goto-address-at-point (&optional event) | 224 | (defun goto-address-at-point (&optional event) |
| 229 | "Send to the e-mail address or load the URL at point. | 225 | "Send to the e-mail address or load the URL at point. |
| 230 | Send mail to address at point. See documentation for | 226 | Send mail to address at point. See documentation for |
diff --git a/lisp/net/net-utils.el b/lisp/net/net-utils.el index 9edd42b857a..c9e80804bd3 100644 --- a/lisp/net/net-utils.el +++ b/lisp/net/net-utils.el | |||
| @@ -86,8 +86,6 @@ These options can be used to limit how many ICMP packets are emitted." | |||
| 86 | :group 'net-utils | 86 | :group 'net-utils |
| 87 | :type '(repeat string)) | 87 | :type '(repeat string)) |
| 88 | 88 | ||
| 89 | (define-obsolete-variable-alias 'ipconfig-program 'ifconfig-program "22.2") | ||
| 90 | |||
| 91 | (defcustom ifconfig-program | 89 | (defcustom ifconfig-program |
| 92 | (cond ((eq system-type 'windows-nt) "ipconfig") | 90 | (cond ((eq system-type 'windows-nt) "ipconfig") |
| 93 | ((executable-find "ifconfig") "ifconfig") | 91 | ((executable-find "ifconfig") "ifconfig") |
| @@ -99,9 +97,6 @@ These options can be used to limit how many ICMP packets are emitted." | |||
| 99 | :group 'net-utils | 97 | :group 'net-utils |
| 100 | :type 'string) | 98 | :type 'string) |
| 101 | 99 | ||
| 102 | (define-obsolete-variable-alias 'ipconfig-program-options | ||
| 103 | 'ifconfig-program-options "22.2") | ||
| 104 | |||
| 105 | (defcustom ifconfig-program-options | 100 | (defcustom ifconfig-program-options |
| 106 | (cond ((string-match "ipconfig\\'" ifconfig-program) '("/all")) | 101 | (cond ((string-match "ipconfig\\'" ifconfig-program) '("/all")) |
| 107 | ((string-match "ifconfig\\'" ifconfig-program) '("-a")) | 102 | ((string-match "ifconfig\\'" ifconfig-program) '("-a")) |
diff --git a/lisp/novice.el b/lisp/novice.el index b9cd568ace9..aaad4fabfe2 100644 --- a/lisp/novice.el +++ b/lisp/novice.el | |||
| @@ -35,9 +35,6 @@ | |||
| 35 | ;; and the keys are returned by (this-command-keys). | 35 | ;; and the keys are returned by (this-command-keys). |
| 36 | 36 | ||
| 37 | ;;;###autoload | 37 | ;;;###autoload |
| 38 | (define-obsolete-variable-alias 'disabled-command-hook | ||
| 39 | 'disabled-command-function "22.1") | ||
| 40 | ;;;###autoload | ||
| 41 | (defvar disabled-command-function 'disabled-command-function | 38 | (defvar disabled-command-function 'disabled-command-function |
| 42 | "Function to call to handle disabled commands. | 39 | "Function to call to handle disabled commands. |
| 43 | If nil, the feature is disabled, i.e., all commands work normally.") | 40 | If nil, the feature is disabled, i.e., all commands work normally.") |
diff --git a/lisp/obsolete/iswitchb.el b/lisp/obsolete/iswitchb.el index 55e81d08d1a..d03621df3c1 100644 --- a/lisp/obsolete/iswitchb.el +++ b/lisp/obsolete/iswitchb.el | |||
| @@ -353,8 +353,6 @@ See also `iswitchb-newbuffer'." | |||
| 353 | :type 'boolean | 353 | :type 'boolean |
| 354 | :group 'iswitchb) | 354 | :group 'iswitchb) |
| 355 | 355 | ||
| 356 | (define-obsolete-variable-alias 'iswitchb-use-fonts 'iswitchb-use-faces "22.1") | ||
| 357 | |||
| 358 | (defcustom iswitchb-use-faces t | 356 | (defcustom iswitchb-use-faces t |
| 359 | "Non-nil means use font-lock faces for showing first match." | 357 | "Non-nil means use font-lock faces for showing first match." |
| 360 | :type 'boolean | 358 | :type 'boolean |
diff --git a/lisp/play/dunnet.el b/lisp/play/dunnet.el index f22cc240c04..2b8bd9d6b8a 100644 --- a/lisp/play/dunnet.el +++ b/lisp/play/dunnet.el | |||
| @@ -2349,7 +2349,6 @@ for a moment, then straighten yourself up.\n") | |||
| 2349 | ;;;; This section sets up the keymaps for interactive and batch dunnet. | 2349 | ;;;; This section sets up the keymaps for interactive and batch dunnet. |
| 2350 | ;;;; | 2350 | ;;;; |
| 2351 | 2351 | ||
| 2352 | (define-obsolete-variable-alias 'dungeon-mode-map 'dun-mode-map "22.1") | ||
| 2353 | (define-key dun-mode-map "\r" 'dun-parse) | 2352 | (define-key dun-mode-map "\r" 'dun-parse) |
| 2354 | (defvar dungeon-batch-map (make-keymap)) | 2353 | (defvar dungeon-batch-map (make-keymap)) |
| 2355 | (if (string= (substring emacs-version 0 2) "18") | 2354 | (if (string= (substring emacs-version 0 2) "18") |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 422974379ba..15503ee0b25 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -100,16 +100,6 @@ compilation buffer. It should return a string. | |||
| 100 | If nil, compute the name with `(concat \"*\" (downcase major-mode) \"*\")'.") | 100 | If nil, compute the name with `(concat \"*\" (downcase major-mode) \"*\")'.") |
| 101 | 101 | ||
| 102 | ;;;###autoload | 102 | ;;;###autoload |
| 103 | (defvar compilation-finish-function nil | ||
| 104 | "Function to call when a compilation process finishes. | ||
| 105 | It is called with two arguments: the compilation buffer, and a string | ||
| 106 | describing how the process finished.") | ||
| 107 | |||
| 108 | (make-obsolete-variable 'compilation-finish-function | ||
| 109 | "use `compilation-finish-functions', but it works a little differently." | ||
| 110 | "22.1") | ||
| 111 | |||
| 112 | ;;;###autoload | ||
| 113 | (defvar compilation-finish-functions nil | 103 | (defvar compilation-finish-functions nil |
| 114 | "Functions to call when a compilation process finishes. | 104 | "Functions to call when a compilation process finishes. |
| 115 | Each function is called with two arguments: the compilation buffer, | 105 | Each function is called with two arguments: the compilation buffer, |
| @@ -2101,7 +2091,6 @@ by replacing the first word, e.g., `compilation-scroll-output' from | |||
| 2101 | compilation-error-regexp-alist | 2091 | compilation-error-regexp-alist |
| 2102 | compilation-error-regexp-alist-alist | 2092 | compilation-error-regexp-alist-alist |
| 2103 | compilation-error-screen-columns | 2093 | compilation-error-screen-columns |
| 2104 | compilation-finish-function | ||
| 2105 | compilation-finish-functions | 2094 | compilation-finish-functions |
| 2106 | compilation-first-column | 2095 | compilation-first-column |
| 2107 | compilation-mode-font-lock-keywords | 2096 | compilation-mode-font-lock-keywords |
| @@ -2245,9 +2234,6 @@ commands of Compilation major mode are available. See | |||
| 2245 | (force-mode-line-update) | 2234 | (force-mode-line-update) |
| 2246 | (if (and opoint (< opoint omax)) | 2235 | (if (and opoint (< opoint omax)) |
| 2247 | (goto-char opoint)) | 2236 | (goto-char opoint)) |
| 2248 | (with-no-warnings | ||
| 2249 | (if compilation-finish-function | ||
| 2250 | (funcall compilation-finish-function cur-buffer msg))) | ||
| 2251 | (run-hook-with-args 'compilation-finish-functions cur-buffer msg))) | 2237 | (run-hook-with-args 'compilation-finish-functions cur-buffer msg))) |
| 2252 | 2238 | ||
| 2253 | ;; Called when compilation process changes state. | 2239 | ;; Called when compilation process changes state. |
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 8c0682ac1c1..09a26ddbe08 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -390,13 +390,6 @@ Affects: `cperl-font-lock', `cperl-electric-lbrace-space', | |||
| 390 | :type '(repeat string) | 390 | :type '(repeat string) |
| 391 | :group 'cperl) | 391 | :group 'cperl) |
| 392 | 392 | ||
| 393 | ;; This became obsolete... | ||
| 394 | (defvar cperl-vc-header-alist nil) | ||
| 395 | (make-obsolete-variable | ||
| 396 | 'cperl-vc-header-alist | ||
| 397 | "use cperl-vc-rcs-header or cperl-vc-sccs-header instead." | ||
| 398 | "22.1") | ||
| 399 | |||
| 400 | ;; (defcustom cperl-clobber-mode-lists | 393 | ;; (defcustom cperl-clobber-mode-lists |
| 401 | ;; (not | 394 | ;; (not |
| 402 | ;; (and | 395 | ;; (and |
| @@ -1727,9 +1720,8 @@ or as help on variables `cperl-tips', `cperl-problems', | |||
| 1727 | (when (featurep 'xemacs) | 1720 | (when (featurep 'xemacs) |
| 1728 | ;; This one is obsolete... | 1721 | ;; This one is obsolete... |
| 1729 | (set (make-local-variable 'vc-header-alist) | 1722 | (set (make-local-variable 'vc-header-alist) |
| 1730 | (or cperl-vc-header-alist ; Avoid warning | 1723 | `((SCCS ,(car cperl-vc-sccs-header)) |
| 1731 | `((SCCS ,(car cperl-vc-sccs-header)) | 1724 | (RCS ,(car cperl-vc-rcs-header))))) |
| 1732 | (RCS ,(car cperl-vc-rcs-header)))))) | ||
| 1733 | (cond ((boundp 'compilation-error-regexp-alist-alist);; xemacs 20.x | 1725 | (cond ((boundp 'compilation-error-regexp-alist-alist);; xemacs 20.x |
| 1734 | (set (make-local-variable 'compilation-error-regexp-alist-alist) | 1726 | (set (make-local-variable 'compilation-error-regexp-alist-alist) |
| 1735 | (cons (cons 'cperl (car cperl-compilation-error-regexp-alist)) | 1727 | (cons (cons 'cperl (car cperl-compilation-error-regexp-alist)) |
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 6aa9a7e4d4a..2664d03e723 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -3397,9 +3397,6 @@ it if ARG is omitted or nil." | |||
| 3397 | (kill-local-variable 'gdb-define-alist) | 3397 | (kill-local-variable 'gdb-define-alist) |
| 3398 | (remove-hook 'after-save-hook 'gdb-create-define-alist t)))) | 3398 | (remove-hook 'after-save-hook 'gdb-create-define-alist t)))) |
| 3399 | 3399 | ||
| 3400 | (define-obsolete-variable-alias 'tooltip-gud-modes | ||
| 3401 | 'gud-tooltip-modes "22.1") | ||
| 3402 | |||
| 3403 | (defcustom gud-tooltip-modes '(gud-mode c-mode c++-mode fortran-mode | 3400 | (defcustom gud-tooltip-modes '(gud-mode c-mode c++-mode fortran-mode |
| 3404 | python-mode) | 3401 | python-mode) |
| 3405 | "List of modes for which to enable GUD tooltips." | 3402 | "List of modes for which to enable GUD tooltips." |
| @@ -3407,9 +3404,6 @@ it if ARG is omitted or nil." | |||
| 3407 | :group 'gud | 3404 | :group 'gud |
| 3408 | :group 'tooltip) | 3405 | :group 'tooltip) |
| 3409 | 3406 | ||
| 3410 | (define-obsolete-variable-alias 'tooltip-gud-display | ||
| 3411 | 'gud-tooltip-display "22.1") | ||
| 3412 | |||
| 3413 | (defcustom gud-tooltip-display | 3407 | (defcustom gud-tooltip-display |
| 3414 | '((eq (tooltip-event-buffer gud-tooltip-event) | 3408 | '((eq (tooltip-event-buffer gud-tooltip-event) |
| 3415 | (marker-buffer gud-overlay-arrow-position))) | 3409 | (marker-buffer gud-overlay-arrow-position))) |
| @@ -3501,8 +3495,6 @@ With arg, dereference expr if ARG is positive, otherwise do not dereference." | |||
| 3501 | (message "Dereferencing is now %s." | 3495 | (message "Dereferencing is now %s." |
| 3502 | (if gud-tooltip-dereference "on" "off"))) | 3496 | (if gud-tooltip-dereference "on" "off"))) |
| 3503 | 3497 | ||
| 3504 | (define-obsolete-function-alias 'tooltip-gud-toggle-dereference | ||
| 3505 | 'gud-tooltip-dereference "22.1") | ||
| 3506 | (defvar tooltip-use-echo-area) | 3498 | (defvar tooltip-use-echo-area) |
| 3507 | (declare-function tooltip-show "tooltip" (text &optional use-echo-area)) | 3499 | (declare-function tooltip-show "tooltip" (text &optional use-echo-area)) |
| 3508 | (declare-function tooltip-strip-prompt "tooltip" (process output)) | 3500 | (declare-function tooltip-strip-prompt "tooltip" (process output)) |
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el index 737dd9ea8a8..58dc213d8af 100644 --- a/lisp/progmodes/pascal.el +++ b/lisp/progmodes/pascal.el | |||
| @@ -1403,7 +1403,6 @@ The default is a name found in the buffer around point." | |||
| 1403 | map) | 1403 | map) |
| 1404 | "Keymap used in Pascal Outline mode.") | 1404 | "Keymap used in Pascal Outline mode.") |
| 1405 | 1405 | ||
| 1406 | (define-obsolete-function-alias 'pascal-outline 'pascal-outline-mode "22.1") | ||
| 1407 | (define-minor-mode pascal-outline-mode | 1406 | (define-minor-mode pascal-outline-mode |
| 1408 | "Outline-line minor mode for Pascal mode. | 1407 | "Outline-line minor mode for Pascal mode. |
| 1409 | With a prefix argument ARG, enable the mode if ARG is positive, | 1408 | With a prefix argument ARG, enable the mode if ARG is positive, |
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index c1d94acfa59..e667a970152 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el | |||
| @@ -745,8 +745,6 @@ Turning on Perl mode runs the normal hook `perl-mode-hook'." | |||
| 745 | 0 ;Existing comment at bol stays there. | 745 | 0 ;Existing comment at bol stays there. |
| 746 | comment-column)) | 746 | comment-column)) |
| 747 | 747 | ||
| 748 | (define-obsolete-function-alias 'electric-perl-terminator | ||
| 749 | 'perl-electric-terminator "22.1") | ||
| 750 | (defun perl-electric-noindent-p (_char) | 748 | (defun perl-electric-noindent-p (_char) |
| 751 | ;; To reproduce the old behavior, ;, {, }, and : are made electric, but | 749 | ;; To reproduce the old behavior, ;, {, }, and : are made electric, but |
| 752 | ;; we only want them to be electric at EOL. | 750 | ;; we only want them to be electric at EOL. |
diff --git a/lisp/recentf.el b/lisp/recentf.el index b33f22d9598..c3c4e459222 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el | |||
| @@ -228,10 +228,6 @@ This item will replace the \"More...\" item." | |||
| 228 | :group 'recentf | 228 | :group 'recentf |
| 229 | :type 'boolean) | 229 | :type 'boolean) |
| 230 | 230 | ||
| 231 | (define-obsolete-variable-alias 'recentf-menu-append-commands-p | ||
| 232 | 'recentf-menu-append-commands-flag | ||
| 233 | "22.1") | ||
| 234 | |||
| 235 | (defcustom recentf-menu-append-commands-flag t | 231 | (defcustom recentf-menu-append-commands-flag t |
| 236 | "Non-nil means to append command items to the menu." | 232 | "Non-nil means to append command items to the menu." |
| 237 | :group 'recentf | 233 | :group 'recentf |
diff --git a/lisp/savehist.el b/lisp/savehist.el index fbb5f533902..0a261b0b0ca 100644 --- a/lisp/savehist.el +++ b/lisp/savehist.el | |||
| @@ -204,29 +204,6 @@ histories, which is probably undesirable." | |||
| 204 | (signal (car errvar) (cdr errvar))))) | 204 | (signal (car errvar) (cdr errvar))))) |
| 205 | (savehist-install))) | 205 | (savehist-install))) |
| 206 | 206 | ||
| 207 | (defun savehist-load () | ||
| 208 | "Load the variables stored in `savehist-file' and turn on Savehist mode. | ||
| 209 | If `savehist-file' is in the old format that doesn't record | ||
| 210 | the value of `savehist-minibuffer-history-variables', that | ||
| 211 | value is deducted from the contents of the file." | ||
| 212 | (declare (obsolete savehist-mode "22.1")) | ||
| 213 | (savehist-mode 1) | ||
| 214 | ;; Old versions of savehist distributed with XEmacs didn't save | ||
| 215 | ;; savehist-minibuffer-history-variables. If that variable is nil | ||
| 216 | ;; after loading the file, try to intuit the intended value. | ||
| 217 | (when (null savehist-minibuffer-history-variables) | ||
| 218 | (setq savehist-minibuffer-history-variables | ||
| 219 | (with-temp-buffer | ||
| 220 | (ignore-errors | ||
| 221 | (insert-file-contents savehist-file)) | ||
| 222 | (let ((vars ()) form) | ||
| 223 | (while (setq form (condition-case nil | ||
| 224 | (read (current-buffer)) (error nil))) | ||
| 225 | ;; Each form read is of the form (setq VAR VALUE). | ||
| 226 | ;; Collect VAR, i.e. (nth form 1). | ||
| 227 | (push (nth 1 form) vars)) | ||
| 228 | vars))))) | ||
| 229 | |||
| 230 | (defun savehist-install () | 207 | (defun savehist-install () |
| 231 | "Hook Savehist into Emacs. | 208 | "Hook Savehist into Emacs. |
| 232 | Normally invoked by calling `savehist-mode' to set the minor mode. | 209 | Normally invoked by calling `savehist-mode' to set the minor mode. |
diff --git a/lisp/speedbar.el b/lisp/speedbar.el index 7915a52df3a..a2311637150 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el | |||
| @@ -637,9 +637,6 @@ Created from `speedbar-ignored-directory-expressions' with the function | |||
| 637 | Use the function `speedbar-add-ignored-directory-regexp', or customize the | 637 | Use the function `speedbar-add-ignored-directory-regexp', or customize the |
| 638 | variable `speedbar-ignored-directory-expressions' to modify this variable.") | 638 | variable `speedbar-ignored-directory-expressions' to modify this variable.") |
| 639 | 639 | ||
| 640 | (define-obsolete-variable-alias 'speedbar-ignored-path-expressions | ||
| 641 | 'speedbar-ignored-directory-expressions "22.1") | ||
| 642 | |||
| 643 | (defcustom speedbar-ignored-directory-expressions | 640 | (defcustom speedbar-ignored-directory-expressions |
| 644 | '("[/\\]logs?[/\\]\\'") | 641 | '("[/\\]logs?[/\\]\\'") |
| 645 | "List of regular expressions matching directories speedbar will ignore. | 642 | "List of regular expressions matching directories speedbar will ignore. |
| @@ -4077,26 +4074,6 @@ TEXT is the buffer's name, TOKEN and INDENT are unused." | |||
| 4077 | (setq font-lock-global-modes (delq 'speedbar-mode | 4074 | (setq font-lock-global-modes (delq 'speedbar-mode |
| 4078 | font-lock-global-modes))))) | 4075 | font-lock-global-modes))))) |
| 4079 | 4076 | ||
| 4080 | ;;; Obsolete variables and functions | ||
| 4081 | |||
| 4082 | (define-obsolete-variable-alias | ||
| 4083 | 'speedbar-ignored-path-regexp 'speedbar-ignored-directory-regexp "22.1") | ||
| 4084 | |||
| 4085 | (define-obsolete-function-alias 'speedbar-add-ignored-path-regexp | ||
| 4086 | 'speedbar-add-ignored-directory-regexp "22.1") | ||
| 4087 | |||
| 4088 | (define-obsolete-function-alias 'speedbar-line-path | ||
| 4089 | 'speedbar-line-directory "22.1") | ||
| 4090 | |||
| 4091 | (define-obsolete-function-alias 'speedbar-buffers-line-path | ||
| 4092 | 'speedbar-buffers-line-directory "22.1") | ||
| 4093 | |||
| 4094 | (define-obsolete-function-alias 'speedbar-path-line | ||
| 4095 | 'speedbar-directory-line "22.1") | ||
| 4096 | |||
| 4097 | (define-obsolete-function-alias 'speedbar-buffers-line-path | ||
| 4098 | 'speedbar-buffers-line-directory "22.1") | ||
| 4099 | |||
| 4100 | (provide 'speedbar) | 4077 | (provide 'speedbar) |
| 4101 | 4078 | ||
| 4102 | ;; run load-time hooks | 4079 | ;; run load-time hooks |
diff --git a/lisp/subr.el b/lisp/subr.el index 056392a9266..b621042c233 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -680,20 +680,6 @@ If TEST is omitted or nil, `equal' is used." | |||
| 680 | (setq tail (cdr tail))) | 680 | (setq tail (cdr tail))) |
| 681 | value)) | 681 | value)) |
| 682 | 682 | ||
| 683 | (defun assoc-ignore-case (key alist) | ||
| 684 | "Like `assoc', but ignores differences in case and text representation. | ||
| 685 | KEY must be a string. Upper-case and lower-case letters are treated as equal. | ||
| 686 | Unibyte strings are converted to multibyte for comparison." | ||
| 687 | (declare (obsolete assoc-string "22.1")) | ||
| 688 | (assoc-string key alist t)) | ||
| 689 | |||
| 690 | (defun assoc-ignore-representation (key alist) | ||
| 691 | "Like `assoc', but ignores differences in text representation. | ||
| 692 | KEY must be a string. | ||
| 693 | Unibyte strings are converted to multibyte for comparison." | ||
| 694 | (declare (obsolete assoc-string "22.1")) | ||
| 695 | (assoc-string key alist nil)) | ||
| 696 | |||
| 697 | (defun member-ignore-case (elt list) | 683 | (defun member-ignore-case (elt list) |
| 698 | "Like `member', but ignore differences in case and text representation. | 684 | "Like `member', but ignore differences in case and text representation. |
| 699 | ELT must be a string. Upper-case and lower-case letters are treated as equal. | 685 | ELT must be a string. Upper-case and lower-case letters are treated as equal. |
| @@ -1491,11 +1477,6 @@ be a list of the form returned by `event-start' and `event-end'." | |||
| 1491 | (make-obsolete-variable 'command-debug-status | 1477 | (make-obsolete-variable 'command-debug-status |
| 1492 | "expect it to be removed in a future version." "25.2") | 1478 | "expect it to be removed in a future version." "25.2") |
| 1493 | 1479 | ||
| 1494 | (define-obsolete-variable-alias 'x-lost-selection-hooks | ||
| 1495 | 'x-lost-selection-functions "22.1") | ||
| 1496 | (define-obsolete-variable-alias 'x-sent-selection-hooks | ||
| 1497 | 'x-sent-selection-functions "22.1") | ||
| 1498 | |||
| 1499 | ;; This was introduced in 21.4 for pre-unicode unification. That | 1480 | ;; This was introduced in 21.4 for pre-unicode unification. That |
| 1500 | ;; usage was rendered obsolete in 23.1 which uses Unicode internally. | 1481 | ;; usage was rendered obsolete in 23.1 which uses Unicode internally. |
| 1501 | ;; Other uses are possible, so this variable is not _really_ obsolete, | 1482 | ;; Other uses are possible, so this variable is not _really_ obsolete, |
| @@ -2173,19 +2154,6 @@ process." | |||
| 2173 | (memq (process-status process) | 2154 | (memq (process-status process) |
| 2174 | '(run open listen connect stop)))) | 2155 | '(run open listen connect stop)))) |
| 2175 | 2156 | ||
| 2176 | ;; compatibility | ||
| 2177 | |||
| 2178 | (defun process-kill-without-query (process &optional _flag) | ||
| 2179 | "Say no query needed if PROCESS is running when Emacs is exited. | ||
| 2180 | Optional second argument if non-nil says to require a query. | ||
| 2181 | Value is t if a query was formerly required." | ||
| 2182 | (declare (obsolete | ||
| 2183 | "use `process-query-on-exit-flag' or `set-process-query-on-exit-flag'." | ||
| 2184 | "22.1")) | ||
| 2185 | (let ((old (process-query-on-exit-flag process))) | ||
| 2186 | (set-process-query-on-exit-flag process nil) | ||
| 2187 | old)) | ||
| 2188 | |||
| 2189 | (defun process-kill-buffer-query-function () | 2157 | (defun process-kill-buffer-query-function () |
| 2190 | "Ask before killing a buffer that has a running process." | 2158 | "Ask before killing a buffer that has a running process." |
| 2191 | (let ((process (get-buffer-process (current-buffer)))) | 2159 | (let ((process (get-buffer-process (current-buffer)))) |
diff --git a/lisp/textmodes/nroff-mode.el b/lisp/textmodes/nroff-mode.el index 9c846292f1e..6955ed25e18 100644 --- a/lisp/textmodes/nroff-mode.el +++ b/lisp/textmodes/nroff-mode.el | |||
| @@ -328,13 +328,6 @@ otherwise off." | |||
| 328 | (kill-buffer viewbuf)) | 328 | (kill-buffer viewbuf)) |
| 329 | (Man-getpage-in-background file))) | 329 | (Man-getpage-in-background file))) |
| 330 | 330 | ||
| 331 | ;; Old names that were not namespace clean. | ||
| 332 | (define-obsolete-function-alias 'count-text-lines 'nroff-count-text-lines "22.1") | ||
| 333 | (define-obsolete-function-alias 'forward-text-line 'nroff-forward-text-line "22.1") | ||
| 334 | (define-obsolete-function-alias 'backward-text-line 'nroff-backward-text-line "22.1") | ||
| 335 | (define-obsolete-function-alias 'electric-nroff-newline 'nroff-electric-newline "22.1") | ||
| 336 | (define-obsolete-function-alias 'electric-nroff-mode 'nroff-electric-mode "22.1") | ||
| 337 | |||
| 338 | (provide 'nroff-mode) | 331 | (provide 'nroff-mode) |
| 339 | 332 | ||
| 340 | ;;; nroff-mode.el ends here | 333 | ;;; nroff-mode.el ends here |
diff --git a/lisp/vc/log-edit.el b/lisp/vc/log-edit.el index 89b6201bab2..6ff782a6061 100644 --- a/lisp/vc/log-edit.el +++ b/lisp/vc/log-edit.el | |||
| @@ -203,10 +203,7 @@ when this variable is set to nil.") | |||
| 203 | 203 | ||
| 204 | (defconst log-edit-maximum-comment-ring-size 32 | 204 | (defconst log-edit-maximum-comment-ring-size 32 |
| 205 | "Maximum number of saved comments in the comment ring.") | 205 | "Maximum number of saved comments in the comment ring.") |
| 206 | (define-obsolete-variable-alias 'vc-comment-ring 'log-edit-comment-ring "22.1") | ||
| 207 | (defvar log-edit-comment-ring (make-ring log-edit-maximum-comment-ring-size)) | 206 | (defvar log-edit-comment-ring (make-ring log-edit-maximum-comment-ring-size)) |
| 208 | (define-obsolete-variable-alias 'vc-comment-ring-index | ||
| 209 | 'log-edit-comment-ring-index "22.1") | ||
| 210 | (defvar log-edit-comment-ring-index nil) | 207 | (defvar log-edit-comment-ring-index nil) |
| 211 | (defvar log-edit-last-comment-match "") | 208 | (defvar log-edit-last-comment-match "") |
| 212 | 209 | ||
| @@ -311,13 +308,6 @@ automatically." | |||
| 311 | (or (eobp) (looking-at "\n\n") | 308 | (or (eobp) (looking-at "\n\n") |
| 312 | (insert "\n")))) | 309 | (insert "\n")))) |
| 313 | 310 | ||
| 314 | ;; Compatibility with old names. | ||
| 315 | (define-obsolete-function-alias 'vc-previous-comment 'log-edit-previous-comment "22.1") | ||
| 316 | (define-obsolete-function-alias 'vc-next-comment 'log-edit-next-comment "22.1") | ||
| 317 | (define-obsolete-function-alias 'vc-comment-search-reverse 'log-edit-comment-search-backward "22.1") | ||
| 318 | (define-obsolete-function-alias 'vc-comment-search-forward 'log-edit-comment-search-forward "22.1") | ||
| 319 | (define-obsolete-function-alias 'vc-comment-to-change-log 'log-edit-comment-to-change-log "22.1") | ||
| 320 | |||
| 321 | ;;; | 311 | ;;; |
| 322 | ;;; Actual code | 312 | ;;; Actual code |
| 323 | ;;; | 313 | ;;; |
diff --git a/lisp/vc/pcvs-info.el b/lisp/vc/pcvs-info.el index 7e727670554..edcfc6e6c4c 100644 --- a/lisp/vc/pcvs-info.el +++ b/lisp/vc/pcvs-info.el | |||
| @@ -39,9 +39,6 @@ | |||
| 39 | ;;;; config variables | 39 | ;;;; config variables |
| 40 | ;;;; | 40 | ;;;; |
| 41 | 41 | ||
| 42 | (define-obsolete-variable-alias 'cvs-display-full-path | ||
| 43 | 'cvs-display-full-name "22.1") | ||
| 44 | |||
| 45 | (defcustom cvs-display-full-name t | 42 | (defcustom cvs-display-full-name t |
| 46 | "Specifies how the filenames should be displayed in the listing. | 43 | "Specifies how the filenames should be displayed in the listing. |
| 47 | If non-nil, their full filename name will be displayed, else only the | 44 | If non-nil, their full filename name will be displayed, else only the |
| @@ -211,8 +208,6 @@ to confuse some users sometimes." | |||
| 211 | ;; Here, I use `concat' rather than `expand-file-name' because I want | 208 | ;; Here, I use `concat' rather than `expand-file-name' because I want |
| 212 | ;; the resulting path to stay relative if `dir' is relative. | 209 | ;; the resulting path to stay relative if `dir' is relative. |
| 213 | (concat dir (cvs-fileinfo->file fileinfo))))) | 210 | (concat dir (cvs-fileinfo->file fileinfo))))) |
| 214 | (define-obsolete-function-alias 'cvs-fileinfo->full-path | ||
| 215 | 'cvs-fileinfo->full-name "22.1") | ||
| 216 | 211 | ||
| 217 | (defun cvs-fileinfo->pp-name (fi) | 212 | (defun cvs-fileinfo->pp-name (fi) |
| 218 | "Return the filename of FI as it should be displayed." | 213 | "Return the filename of FI as it should be displayed." |
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 01dc47e8089..7646af075f1 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el | |||
| @@ -1649,11 +1649,6 @@ to override the value of `vc-diff-switches' and `diff-switches'." | |||
| 1649 | ;; any switches in diff-switches. | 1649 | ;; any switches in diff-switches. |
| 1650 | (when (listp switches) switches)))) | 1650 | (when (listp switches) switches)))) |
| 1651 | 1651 | ||
| 1652 | ;; Old def for compatibility with Emacs-21.[123]. | ||
| 1653 | (defmacro vc-diff-switches-list (backend) | ||
| 1654 | (declare (obsolete vc-switches "22.1")) | ||
| 1655 | `(vc-switches ',backend 'diff)) | ||
| 1656 | |||
| 1657 | (defun vc-diff-finish (buffer messages) | 1652 | (defun vc-diff-finish (buffer messages) |
| 1658 | ;; The empty sync output case has already been handled, so the only | 1653 | ;; The empty sync output case has already been handled, so the only |
| 1659 | ;; possibility of an empty output is for an async process. | 1654 | ;; possibility of an empty output is for an async process. |