aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2021-12-03 23:17:04 +0100
committerStefan Kangas2022-07-08 14:10:38 +0200
commit739e3dbe050468e1d9aa0a48bfc656ae20fd8f9d (patch)
treebff6872f7ccca805060d72bdd0469245408e1e59
parentca7b5dbfcac36be79e2e1d3a7fb3d14c5404d7ca (diff)
downloademacs-739e3dbe050468e1d9aa0a48bfc656ae20fd8f9d.tar.gz
emacs-739e3dbe050468e1d9aa0a48bfc656ae20fd8f9d.zip
Remove many items obsolete since 24.1
* lisp/allout.el (allout-abbreviate-flattened-numbering) (allout-mode-deactivate-hook): * lisp/ansi-color.el (ansi-color-unfontify-region): * lisp/auth-source.el (auth-source-hide-passwords) (auth-source-user-or-password) (auth-source-forget-user-or-password): * lisp/cedet/data-debug.el (data-debug-map): * lisp/cedet/semantic/grammar.el (semantic-grammar-syntax-table) (semantic-grammar-map): * lisp/chistory.el (command-history-map): * lisp/comint.el (comint-dynamic-complete) (comint-dynamic-complete-as-filename) (comint-dynamic-simple-complete): * lisp/dired-x.el (read-filename-at-point) (dired-x-submit-report): * lisp/dos-fns.el (register-name-alist, make-register) (register-value, set-register-value, intdos, mode25, mode4350): * lisp/emacs-lisp/bytecomp.el (byte-compile-disable-print-circle): * lisp/emacs-lisp/chart.el (chart-map): * lisp/emacs-lisp/package.el (package-menu-view-commentary): * lisp/emacs-lock.el (toggle-emacs-lock, emacs-lock-from-exiting): * lisp/erc/erc.el (erc-complete-word): * lisp/eshell/em-cmpl.el (eshell-cmpl-suffix-list): * lisp/eshell/esh-util.el (eshell-for): * lisp/files.el (inhibit-first-line-modes-regexps) (inhibit-first-line-modes-suffixes): * lisp/gnus/gnus-msg.el (gnus-outgoing-message-group) (gnus-debug-files, gnus-debug-exclude-variables): * lisp/gnus/gnus-registry.el (gnus-registry-user-format-function-M): * lisp/gnus/gnus.el (gnus-local-domain, gnus-carpal): * lisp/gnus/nnimap.el (nnimap-split-rule): * lisp/iimage.el (turn-on-iimage-mode): * lisp/image.el (image-extension-data, image-library-alist): * lisp/mail/emacsbug.el (report-emacs-bug-pretest-address): * lisp/mail/mail-utils.el (rmail-dont-reply-to): * lisp/mail/mailalias.el (mail-complete-function) (mail-completion-at-point-function): * lisp/mail/rmail.el (rmail-dont-reply-to-names) (rmail-default-dont-reply-to-names): * lisp/mail/sendmail.el (mail-mailer-swallows-blank-line) (mail-sent-via): * lisp/menu-bar.el (menu-bar-kill-ring-save): * lisp/minibuffer.el (completion-annotate-function) (minibuffer-local-filename-must-match-map): * lisp/msb.el (msb-after-load-hooks): * lisp/obsolete/eieio-compat.el (eieio-defmethod) (eieio-defgeneric): * lisp/obsolete/info-edit.el (Info-edit-map): * lisp/obsolete/starttls.el (starttls-any-program-available): * lisp/progmodes/cfengine.el (cfengine-mode-abbrevs): * lisp/progmodes/cwarn.el (turn-on-cwarn-mode): * lisp/progmodes/make-mode.el (makefile-complete): * lisp/progmodes/meta-mode.el (meta-complete-symbol) (meta-mode-map): * lisp/progmodes/pascal.el (pascal-toggle-completions) (pascal-last-completions, pascal-show-completions): * lisp/progmodes/prolog.el (prolog-char-quote-workaround): * lisp/progmodes/which-func.el (which-func-mode): [FUNCTION] * lisp/simple.el (count-lines-region, minibuffer-completing-symbol): * lisp/speedbar.el (speedbar-syntax-table, speedbar-key-map): * lisp/strokes.el (strokes-report-bug): * lisp/subr.el (condition-case-no-debug): * lisp/term/ns-win.el (ns-alternatives-map) (ns-store-cut-buffer-internal): * lisp/term/w32-win.el (w32-default-color-map): * lisp/term/x-win.el (x-cut-buffer-or-selection-value): * lisp/textmodes/bibtex.el (bibtex-complete) (bibtex-entry-field-alist): * lisp/textmodes/reftex-index.el (reftex-index-map) (reftex-index-phrases-map): * lisp/textmodes/reftex-sel.el (reftex-select-label-map) (reftex-select-bib-map): * lisp/textmodes/reftex-toc.el (reftex-toc-map): * lisp/textmodes/rst.el (rst-block-face, rst-external-face) (rst-definition-face, rst-directive-face, rst-comment-face) (rst-emphasis1-face, rst-emphasis2-face, rst-literal-face) (rst-reference-face): * lisp/vc/vc-hooks.el (vc-toggle-read-only): * lisp/view.el (view-return-to-alist) (view-return-to-alist-update): Remove many functions and variables obsolete since 24.1. * lisp/textmodes/bibtex.el (bibtex-entry-alist): Don't use above removed variable 'bibtex-entry-field-alist'. * lisp/cedet/data-debug.el (data-debug-edebug-expr) (data-debug-eval-expression): * lisp/emacs-lisp/trace.el (trace--read-args): * lisp/files-x.el (read-file-local-variable-value): * lisp/simple.el (read--expression): Don't use above removed variable 'minibuffer-completing-symbol'. * lisp/textmodes/rst.el (rst-font-lock-keywords): Don't use above removed variables. * src/w32fns.c (Fw32_default_color_map): Delete obsolete function. (syms_of_w32fns): Delete defsubr for above defun. * src/keyboard.c (syms_of_keyboard) <Vdeferred_action_list> <Vdeferred_action_function>: Delete DEFVARs. <Qdeferred_action_function>: Delete DEFSYM. (syms_of_keyboard_for_pdumper): Adjust for above change. (command_loop_1): Don't run deferred-action-function hook. * lisp/subr.el (deferred-action-list, deferred-action-function): Delete obsoletion statements. * lisp/emacs-lisp/ert-x.el (ert-simulate-command): Don't run 'deferred-action-list' hook. * doc/lispref/hooks.texi (Standard Hooks): Delete 'deferred-action-function'. * lisp/emacs-lisp/lisp.el (field-complete): * lisp/eshell/em-cmpl.el (eshell-cmpl-initialize): * lisp/gnus/gnus-msg.el (gnus-inews-insert-gcc): * lisp/gnus/nnmail.el (nnmail-fancy-expiry-target): * lisp/mail/mail-utils.el (mail-dont-reply-to): * lisp/mail/sendmail.el (sendmail-send-it): * lisp/mail/smtpmail.el (smtpmail-send-it): * lisp/minibuffer.el (minibuffer-completion-help): * lisp/progmodes/python.el: Don't use above removed items. * lisp/emacs-lisp/eieio-core.el: * lisp/mail/mailalias.el (mail-complete-alist): Doc fixes; don't refer to above removed items. ; * etc/NEWS: List removed items.
-rw-r--r--doc/lispref/hooks.texi1
-rw-r--r--etc/NEWS47
-rw-r--r--lisp/allout.el8
-rw-r--r--lisp/ansi-color.el3
-rw-r--r--lisp/auth-source.el85
-rw-r--r--lisp/cedet/data-debug.el16
-rw-r--r--lisp/cedet/semantic/grammar.el4
-rw-r--r--lisp/chistory.el2
-rw-r--r--lisp/comint.el70
-rw-r--r--lisp/dired-x.el7
-rw-r--r--lisp/dos-fns.el16
-rw-r--r--lisp/emacs-lisp/bytecomp.el11
-rw-r--r--lisp/emacs-lisp/chart.el1
-rw-r--r--lisp/emacs-lisp/eieio-core.el4
-rw-r--r--lisp/emacs-lisp/ert-x.el3
-rw-r--r--lisp/emacs-lisp/lisp.el9
-rw-r--r--lisp/emacs-lisp/package.el3
-rw-r--r--lisp/emacs-lisp/trace.el7
-rw-r--r--lisp/emacs-lock.el11
-rw-r--r--lisp/erc/erc.el2
-rw-r--r--lisp/eshell/em-cmpl.el11
-rw-r--r--lisp/eshell/esh-util.el9
-rw-r--r--lisp/files-x.el3
-rw-r--r--lisp/files.el6
-rw-r--r--lisp/gnus/gnus-msg.el44
-rw-r--r--lisp/gnus/gnus-registry.el3
-rw-r--r--lisp/gnus/gnus.el15
-rw-r--r--lisp/gnus/nnimap.el3
-rw-r--r--lisp/iimage.el3
-rw-r--r--lisp/image.el9
-rw-r--r--lisp/mail/emacsbug.el3
-rw-r--r--lisp/mail/mail-utils.el11
-rw-r--r--lisp/mail/mailalias.el29
-rw-r--r--lisp/mail/rmail.el14
-rw-r--r--lisp/mail/sendmail.el40
-rw-r--r--lisp/mail/smtpmail.el2
-rw-r--r--lisp/menu-bar.el3
-rw-r--r--lisp/minibuffer.el25
-rw-r--r--lisp/msb.el3
-rw-r--r--lisp/obsolete/eieio-compat.el15
-rw-r--r--lisp/obsolete/info-edit.el1
-rw-r--r--lisp/obsolete/starttls.el3
-rw-r--r--lisp/progmodes/cfengine.el9
-rw-r--r--lisp/progmodes/cwarn.el3
-rw-r--r--lisp/progmodes/make-mode.el1
-rw-r--r--lisp/progmodes/meta-mode.el3
-rw-r--r--lisp/progmodes/pascal.el15
-rw-r--r--lisp/progmodes/prolog.el10
-rw-r--r--lisp/progmodes/python.el1
-rw-r--r--lisp/progmodes/which-func.el3
-rw-r--r--lisp/simple.el33
-rw-r--r--lisp/speedbar.el4
-rw-r--r--lisp/strokes.el2
-rw-r--r--lisp/subr.el5
-rw-r--r--lisp/term/ns-win.el6
-rw-r--r--lisp/term/w32-win.el1
-rw-r--r--lisp/term/x-win.el3
-rw-r--r--lisp/textmodes/bibtex.el11
-rw-r--r--lisp/textmodes/reftex-index.el4
-rw-r--r--lisp/textmodes/reftex-sel.el4
-rw-r--r--lisp/textmodes/reftex-toc.el1
-rw-r--r--lisp/textmodes/rst.el145
-rw-r--r--lisp/vc/vc-hooks.el9
-rw-r--r--lisp/view.el46
-rw-r--r--src/keyboard.c18
-rw-r--r--src/w32fns.c8
66 files changed, 114 insertions, 796 deletions
diff --git a/doc/lispref/hooks.texi b/doc/lispref/hooks.texi
index 107d036202e..59b7930732f 100644
--- a/doc/lispref/hooks.texi
+++ b/doc/lispref/hooks.texi
@@ -290,7 +290,6 @@ auto-fill-function
290command-error-function 290command-error-function
291compose-chars-after-function 291compose-chars-after-function
292composition-function-table 292composition-function-table
293deferred-action-function
294input-method-function 293input-method-function
295load-read-function 294load-read-function
296load-source-file-function 295load-source-file-function
diff --git a/etc/NEWS b/etc/NEWS
index 226af8d7d6a..1e6fb06bdcc 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2248,6 +2248,53 @@ Use 'exif-parse-file' and 'exif-field' instead.
2248This change is now applied in 'dired-insert-directory'. 2248This change is now applied in 'dired-insert-directory'.
2249 2249
2250--- 2250---
2251** Some functions and variables obsolete since Emacs 24 have been removed:
2252'Info-edit-map', 'allout-abbreviate-flattened-numbering',
2253'allout-mode-deactivate-hook', 'ansi-color-unfontify-region',
2254'auth-source-forget-user-or-password', 'auth-source-hide-passwords',
2255'auth-source-user-or-password', 'bibtex-complete',
2256'bibtex-entry-field-alist', 'byte-compile-disable-print-circle',
2257'cfengine-mode-abbrevs', 'chart-map', 'comint-dynamic-complete',
2258'comint-dynamic-complete-as-filename',
2259'comint-dynamic-simple-complete', 'command-history-map',
2260'completion-annotate-function', 'condition-case-no-debug',
2261'count-lines-region', 'data-debug-map', 'deferred-action-list',
2262'deferred-action-function', 'dired-x-submit-report',
2263'eieio-defgeneric', 'eieio-defmethod', 'emacs-lock-from-exiting',
2264'erc-complete-word', 'eshell-cmpl-suffix-list', 'eshell-for',
2265'gnus-carpal', 'gnus-debug-exclude-variables', 'gnus-debug-files',
2266'gnus-local-domain', 'gnus-outgoing-message-group',
2267'gnus-registry-user-format-function-M', 'image-extension-data',
2268'image-library-alist', 'inhibit-first-line-modes-regexps',
2269'inhibit-first-line-modes-suffixes', 'intdos',
2270'mail-complete-function', 'mail-completion-at-point-function',
2271'mail-mailer-swallows-blank-line', 'mail-sent-via', 'make-register',
2272'makefile-complete', 'menu-bar-kill-ring-save',
2273'meta-complete-symbol', 'meta-mode-map',
2274'minibuffer-completing-symbol',
2275'minibuffer-local-filename-must-match-map', 'mode25', 'mode4350',
2276'msb-after-load-hooks', 'nnimap-split-rule', 'ns-alternatives-map',
2277'ns-store-cut-buffer-internal', 'package-menu-view-commentary',
2278'pascal-last-completions', 'pascal-show-completions',
2279'pascal-toggle-completions', 'prolog-char-quote-workaround',
2280'read-filename-at-point', 'reftex-index-map',
2281'reftex-index-phrases-map', 'reftex-select-bib-map',
2282'reftex-select-label-map', 'reftex-toc-map', 'register-name-alist',
2283'register-value', 'report-emacs-bug-pretest-address',
2284'rmail-default-dont-reply-to-names', 'rmail-dont-reply-to',
2285'rmail-dont-reply-to-names', 'rst-block-face', 'rst-comment-face',
2286'rst-definition-face', 'rst-directive-face', 'rst-emphasis1-face',
2287'rst-emphasis2-face', 'rst-external-face', 'rst-literal-face',
2288'rst-reference-face', 'semantic-grammar-map',
2289'semantic-grammar-syntax-table', 'set-register-value',
2290'speedbar-key-map', 'speedbar-syntax-table',
2291'starttls-any-program-available', 'strokes-report-bug',
2292'toggle-emacs-lock', 'turn-on-cwarn-mode', 'turn-on-iimage-mode',
2293'vc-toggle-read-only', 'view-return-to-alist',
2294'view-return-to-alist-update', 'w32-default-color-map' (function),
2295'which-func-mode' (function), 'x-cut-buffer-or-selection-value'.
2296
2297---
2251** Some functions and variables obsolete since Emacs 23 have been removed: 2298** Some functions and variables obsolete since Emacs 23 have been removed:
2252'find-emacs-lisp-shadows', 'newsticker-cache-filename', 2299'find-emacs-lisp-shadows', 'newsticker-cache-filename',
2253'unify-8859-on-decoding-mode', 'unify-8859-on-encoding-mode', 2300'unify-8859-on-decoding-mode', 'unify-8859-on-encoding-mode',
diff --git a/lisp/allout.el b/lisp/allout.el
index de8ee85b391..e07bac4ef99 100644
--- a/lisp/allout.el
+++ b/lisp/allout.el
@@ -733,8 +733,6 @@ Set this var to the bullet you want to use for file cross-references."
733(put 'allout-presentation-padding 'safe-local-variable #'integerp) 733(put 'allout-presentation-padding 'safe-local-variable #'integerp)
734 734
735;;;_ = allout-flattened-numbering-abbreviation 735;;;_ = allout-flattened-numbering-abbreviation
736(define-obsolete-variable-alias 'allout-abbreviate-flattened-numbering
737 'allout-flattened-numbering-abbreviation "24.1")
738(defcustom allout-flattened-numbering-abbreviation nil 736(defcustom allout-flattened-numbering-abbreviation nil
739 "If non-nil, `allout-flatten-exposed-to-buffer' abbreviates topic 737 "If non-nil, `allout-flatten-exposed-to-buffer' abbreviates topic
740numbers to minimal amount with some context. Otherwise, entire 738numbers to minimal amount with some context. Otherwise, entire
@@ -1350,11 +1348,6 @@ their settings before `allout-mode' was started."
1350;;;_ = allout-mode-hook 1348;;;_ = allout-mode-hook
1351(defvar allout-mode-hook nil 1349(defvar allout-mode-hook nil
1352 "Hook run when allout mode starts.") 1350 "Hook run when allout mode starts.")
1353;;;_ = allout-mode-deactivate-hook
1354(define-obsolete-variable-alias 'allout-mode-deactivate-hook
1355 'allout-mode-off-hook "24.1")
1356(defvar allout-mode-deactivate-hook nil
1357 "Hook run when allout mode ends.")
1358;;;_ = allout-exposure-category 1351;;;_ = allout-exposure-category
1359(defvar allout-exposure-category nil 1352(defvar allout-exposure-category nil
1360 "Symbol for use as allout invisible-text overlay category.") 1353 "Symbol for use as allout invisible-text overlay category.")
@@ -1779,7 +1772,6 @@ hooks, by which independent code can cooperate with allout
1779without changes to the allout core. Here are key ones: 1772without changes to the allout core. Here are key ones:
1780 1773
1781`allout-mode-hook' 1774`allout-mode-hook'
1782`allout-mode-deactivate-hook' (deprecated)
1783`allout-mode-off-hook' 1775`allout-mode-off-hook'
1784`allout-exposure-change-functions' 1776`allout-exposure-change-functions'
1785`allout-structure-added-functions' 1777`allout-structure-added-functions'
diff --git a/lisp/ansi-color.el b/lisp/ansi-color.el
index d5db9ecfed0..6f1c270c239 100644
--- a/lisp/ansi-color.el
+++ b/lisp/ansi-color.el
@@ -456,9 +456,6 @@ variable, and is meant to be used in `compilation-filter-hook'."
456 (_ 456 (_
457 (ansi-color-apply-on-region compilation-filter-start (point)))))) 457 (ansi-color-apply-on-region compilation-filter-start (point))))))
458 458
459(define-obsolete-function-alias 'ansi-color-unfontify-region
460 'font-lock-default-unfontify-region "24.1")
461
462;; Working with strings 459;; Working with strings
463(defvar-local ansi-color-context nil 460(defvar-local ansi-color-context nil
464 "Context saved between two calls to `ansi-color-apply'. 461 "Context saved between two calls to `ansi-color-apply'.
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index fc62e36dfc2..12da2c3d73d 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -164,8 +164,6 @@ Overrides `password-cache-expiry' through a let-binding."
164(defvar auth-source-creation-prompts nil 164(defvar auth-source-creation-prompts nil
165 "Default prompts for token values. Usually let-bound.") 165 "Default prompts for token values. Usually let-bound.")
166 166
167(make-obsolete 'auth-source-hide-passwords nil "24.1")
168
169(defcustom auth-source-save-behavior 'ask 167(defcustom auth-source-save-behavior 'ask
170 "If set, auth-source will respect it for save behavior." 168 "If set, auth-source will respect it for save behavior."
171 :version "23.2" ;; No Gnus 169 :version "23.2" ;; No Gnus
@@ -2325,89 +2323,6 @@ See `auth-source-search' for details on SPEC."
2325 (push item all))) 2323 (push item all)))
2326 (nreverse all))) 2324 (nreverse all)))
2327 2325
2328;;; older API
2329
2330;; (auth-source-user-or-password '("login" "password") "imap.myhost.com" t "tzz")
2331
2332;; deprecate the old interface
2333(make-obsolete 'auth-source-user-or-password
2334 'auth-source-search "24.1")
2335(make-obsolete 'auth-source-forget-user-or-password
2336 'auth-source-forget "24.1")
2337
2338(defun auth-source-user-or-password
2339 (mode host port &optional username create-missing delete-existing)
2340 "Find MODE (string or list of strings) matching HOST and PORT.
2341
2342DEPRECATED in favor of `auth-source-search'!
2343
2344USERNAME is optional and will be used as \"login\" in a search
2345across the Secret Service API (see secrets.el) if the resulting
2346items don't have a username. This means that if you search for
2347username \"joe\" and it matches an item but the item doesn't have
2348a :user attribute, the username \"joe\" will be returned.
2349
2350A non-nil DELETE-EXISTING means deleting any matching password
2351entry in the respective sources. This is useful only when
2352CREATE-MISSING is non-nil as well; the intended use case is to
2353remove wrong password entries.
2354
2355If no matching entry is found, and CREATE-MISSING is non-nil,
2356the password will be retrieved interactively, and it will be
2357stored in the password database which matches best (see
2358`auth-sources').
2359
2360MODE can be \"login\" or \"password\"."
2361 (auth-source-do-debug
2362 "auth-source-user-or-password: DEPRECATED get %s for %s (%s) + user=%s"
2363 mode host port username)
2364
2365 (let* ((listy (listp mode))
2366 (mode (if listy mode (list mode)))
2367 ;; (cname (if username
2368 ;; (format "%s %s:%s %s" mode host port username)
2369 ;; (format "%s %s:%s" mode host port)))
2370 (search (list :host host :port port))
2371 (search (if username (append search (list :user username)) search))
2372 (search (if create-missing
2373 (append search (list :create t))
2374 search))
2375 (search (if delete-existing
2376 (append search (list :delete t))
2377 search))
2378 ;; (found (if (not delete-existing)
2379 ;; (gethash cname auth-source-cache)
2380 ;; (remhash cname auth-source-cache)
2381 ;; nil)))
2382 (found nil))
2383 (if found
2384 (progn
2385 (auth-source-do-debug
2386 "auth-source-user-or-password: DEPRECATED cached %s=%s for %s (%s) + %s"
2387 mode
2388 ;; don't show the password
2389 (if (and (member "password" mode) t)
2390 "SECRET"
2391 found)
2392 host port username)
2393 found) ; return the found data
2394 ;; else, if not found, search with a max of 1
2395 (let ((choice (nth 0 (apply #'auth-source-search
2396 (append '(:max 1) search)))))
2397 (when choice
2398 (dolist (m mode)
2399 (cond
2400 ((equal "password" m)
2401 (push (if (plist-get choice :secret)
2402 (funcall (plist-get choice :secret))
2403 nil) found))
2404 ((equal "login" m)
2405 (push (plist-get choice :user) found)))))
2406 (setq found (nreverse found))
2407 (setq found (if listy found (car-safe found)))))
2408
2409 found))
2410
2411(defun auth-source-user-and-password (host &optional user) 2326(defun auth-source-user-and-password (host &optional user)
2412 (let* ((auth-info (car 2327 (let* ((auth-info (car
2413 (if user 2328 (if user
diff --git a/lisp/cedet/data-debug.el b/lisp/cedet/data-debug.el
index 0edc853edda..e7635c0aec5 100644
--- a/lisp/cedet/data-debug.el
+++ b/lisp/cedet/data-debug.el
@@ -854,7 +854,6 @@ If PARENT is non-nil, it is somehow related as a parent to thing."
854 table) 854 table)
855 "Syntax table used in data-debug macro buffers.") 855 "Syntax table used in data-debug macro buffers.")
856 856
857(define-obsolete-variable-alias 'data-debug-map 'data-debug-mode-map "24.1")
858(defvar data-debug-mode-map 857(defvar data-debug-mode-map
859 (let ((km (make-sparse-keymap))) 858 (let ((km (make-sparse-keymap)))
860 (suppress-keymap km) 859 (suppress-keymap km)
@@ -1028,11 +1027,9 @@ Do nothing if already contracted."
1028(defun data-debug-edebug-expr (expr) 1027(defun data-debug-edebug-expr (expr)
1029 "Dump out the contents of some expression EXPR in edebug with ddebug." 1028 "Dump out the contents of some expression EXPR in edebug with ddebug."
1030 (interactive 1029 (interactive
1031 (list (let ((minibuffer-completing-symbol t)) 1030 (list (read-from-minibuffer "Eval: "
1032 (read-from-minibuffer "Eval: " 1031 nil read-expression-map t
1033 nil read-expression-map t 1032 'read-expression-history)))
1034 'read-expression-history))
1035 ))
1036 (let ((v (eval expr t))) 1033 (let ((v (eval expr t)))
1037 (if (not v) 1034 (if (not v)
1038 (message "Expression %s is nil." expr) 1035 (message "Expression %s is nil." expr)
@@ -1043,10 +1040,9 @@ Do nothing if already contracted."
1043If the result is something simple, show it in the echo area. 1040If the result is something simple, show it in the echo area.
1044If the result is a list or vector, then use the data debugger to display it." 1041If the result is a list or vector, then use the data debugger to display it."
1045 (interactive 1042 (interactive
1046 (list (let ((minibuffer-completing-symbol t)) 1043 (list (read-from-minibuffer "Eval: "
1047 (read-from-minibuffer "Eval: " 1044 nil read-expression-map t
1048 nil read-expression-map t 1045 'read-expression-history)))
1049 'read-expression-history))))
1050 1046
1051 (let (result) 1047 (let (result)
1052 (if (null eval-expression-debug-on-error) 1048 (if (null eval-expression-debug-on-error)
diff --git a/lisp/cedet/semantic/grammar.el b/lisp/cedet/semantic/grammar.el
index 74d4a229fac..97456265ead 100644
--- a/lisp/cedet/semantic/grammar.el
+++ b/lisp/cedet/semantic/grammar.el
@@ -1123,8 +1123,6 @@ END is the limit of the search."
1123;;;; Define major mode 1123;;;; Define major mode
1124;;;; 1124;;;;
1125 1125
1126(define-obsolete-variable-alias 'semantic-grammar-syntax-table
1127 'semantic-grammar-mode-syntax-table "24.1")
1128(defvar semantic-grammar-mode-syntax-table 1126(defvar semantic-grammar-mode-syntax-table
1129 (let ((table (make-syntax-table (standard-syntax-table)))) 1127 (let ((table (make-syntax-table (standard-syntax-table))))
1130 (modify-syntax-entry ?\: "." table) ;; COLON 1128 (modify-syntax-entry ?\: "." table) ;; COLON
@@ -1197,8 +1195,6 @@ END is the limit of the search."
1197 semantic-grammar-mode-keywords-1 1195 semantic-grammar-mode-keywords-1
1198 "Font Lock keywords used to highlight Semantic grammar buffers.") 1196 "Font Lock keywords used to highlight Semantic grammar buffers.")
1199 1197
1200(define-obsolete-variable-alias 'semantic-grammar-map
1201 'semantic-grammar-mode-map "24.1")
1202(defvar semantic-grammar-mode-map 1198(defvar semantic-grammar-mode-map
1203 (let ((km (make-sparse-keymap))) 1199 (let ((km (make-sparse-keymap)))
1204 1200
diff --git a/lisp/chistory.el b/lisp/chistory.el
index 33b21422114..9dce60a19fe 100644
--- a/lisp/chistory.el
+++ b/lisp/chistory.el
@@ -119,8 +119,6 @@ The buffer is left in Command History mode."
119 (error "No command history") 119 (error "No command history")
120 (command-history-mode))))) 120 (command-history-mode)))))
121 121
122(define-obsolete-variable-alias 'command-history-map
123 'command-history-mode-map "24.1")
124(defvar command-history-mode-map 122(defvar command-history-mode-map
125 (let ((map (make-sparse-keymap))) 123 (let ((map (make-sparse-keymap)))
126 (set-keymap-parent map (make-composed-keymap lisp-mode-shared-map 124 (set-keymap-parent map (make-composed-keymap lisp-mode-shared-map
diff --git a/lisp/comint.el b/lisp/comint.el
index 7e22aa78fce..d52623c00ae 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -3299,10 +3299,6 @@ Magic characters are those in `comint-file-name-quote-list'."
3299(defun comint-completion-at-point () 3299(defun comint-completion-at-point ()
3300 (run-hook-with-args-until-success 'comint-dynamic-complete-functions)) 3300 (run-hook-with-args-until-success 'comint-dynamic-complete-functions))
3301 3301
3302(define-obsolete-function-alias
3303 'comint-dynamic-complete
3304 'completion-at-point "24.1")
3305
3306(defun comint-dynamic-complete-filename () 3302(defun comint-dynamic-complete-filename ()
3307 "Dynamically complete the filename at point. 3303 "Dynamically complete the filename at point.
3308Completes if after a filename. 3304Completes if after a filename.
@@ -3383,13 +3379,6 @@ See `completion-table-with-quoting' and `comint-unquote-function'.")
3383 (goto-char (match-end 0)) 3379 (goto-char (match-end 0))
3384 (insert filesuffix))))))))) 3380 (insert filesuffix)))))))))
3385 3381
3386(defun comint-dynamic-complete-as-filename ()
3387 "Dynamically complete at point as a filename.
3388See `comint-dynamic-complete-filename'. Returns t if successful."
3389 (declare (obsolete comint-filename-completion "24.1"))
3390 (let ((data (comint--complete-file-name-data)))
3391 (completion-in-region (nth 0 data) (nth 1 data) (nth 2 data))))
3392
3393(defun comint-replace-by-expanded-filename () 3382(defun comint-replace-by-expanded-filename ()
3394 "Dynamically expand and complete the filename at point. 3383 "Dynamically expand and complete the filename at point.
3395Replace the filename with an expanded, canonicalized and 3384Replace the filename with an expanded, canonicalized and
@@ -3404,65 +3393,6 @@ filename absolute. For expansion see `expand-file-name' and
3404 (replace-match (expand-file-name filename) t t) 3393 (replace-match (expand-file-name filename) t t)
3405 (comint-dynamic-complete-filename)))) 3394 (comint-dynamic-complete-filename))))
3406 3395
3407
3408(defun comint-dynamic-simple-complete (stub candidates)
3409 "Dynamically complete STUB from CANDIDATES list.
3410This function inserts completion characters at point by
3411completing STUB from the strings in CANDIDATES. If completion is
3412ambiguous, possibly show a completions listing in a separate
3413buffer.
3414
3415Return nil if no completion was inserted.
3416Return `sole' if completed with the only completion match.
3417Return `shortest' if completed with the shortest match.
3418Return `partial' if completed as far as possible.
3419Return `listed' if a completion listing was shown.
3420
3421See also `comint-dynamic-complete-filename'."
3422 (declare (obsolete completion-in-region "24.1"))
3423 (let* ((completion-ignore-case (memq system-type '(ms-dos windows-nt cygwin)))
3424 (minibuffer-p (window-minibuffer-p))
3425 (suffix (cond ((not comint-completion-addsuffix) "")
3426 ((not (consp comint-completion-addsuffix)) " ")
3427 (t (cdr comint-completion-addsuffix))))
3428 (completions (all-completions stub candidates)))
3429 (cond ((null completions)
3430 (if minibuffer-p
3431 (minibuffer-message "No completions of %s" stub)
3432 (message "No completions of %s" stub))
3433 nil)
3434 ((= 1 (length completions)) ; Gotcha!
3435 (let ((completion (car completions)))
3436 (if (string-equal completion stub)
3437 (unless minibuffer-p
3438 (message "Sole completion"))
3439 (insert (substring completion (length stub)))
3440 (unless minibuffer-p
3441 (message "Completed")))
3442 (insert suffix)
3443 'sole))
3444 (t ; There's no unique completion.
3445 (let ((completion (try-completion stub candidates)))
3446 ;; Insert the longest substring.
3447 (insert (substring completion (length stub)))
3448 (cond ((and comint-completion-recexact comint-completion-addsuffix
3449 (string-equal stub completion)
3450 (member completion completions))
3451 ;; It's not unique, but user wants shortest match.
3452 (insert suffix)
3453 (unless minibuffer-p
3454 (message "Completed shortest"))
3455 'shortest)
3456 ((or comint-completion-autolist
3457 (string-equal stub completion))
3458 ;; It's not unique, list possible completions.
3459 (comint-dynamic-list-completions completions stub)
3460 'listed)
3461 (t
3462 (unless minibuffer-p
3463 (message "Partially completed"))
3464 'partial)))))))
3465
3466(defun comint-dynamic-list-filename-completions () 3396(defun comint-dynamic-list-filename-completions ()
3467 "Display a list of possible completions for the filename at point." 3397 "Display a list of possible completions for the filename at point."
3468 (interactive) 3398 (interactive)
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index db5a93b60c3..1e1bf9efd68 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -1531,13 +1531,6 @@ If `current-prefix-arg' is non-nil, uses name at point as guess."
1531 nil (file-name-nondirectory guess))) 1531 nil (file-name-nondirectory guess)))
1532 (read-file-name prompt default-directory))) 1532 (read-file-name prompt default-directory)))
1533 1533
1534(define-obsolete-function-alias 'read-filename-at-point
1535 'dired-x-read-filename-at-point "24.1") ; is this even needed?
1536
1537
1538;;; Epilog
1539
1540(define-obsolete-function-alias 'dired-x-submit-report 'report-emacs-bug "24.1")
1541(define-obsolete-function-alias 'dired-man #'dired-do-man "29.1") 1534(define-obsolete-function-alias 'dired-man #'dired-do-man "29.1")
1542(define-obsolete-function-alias 'dired-info #'dired-do-info "29.1") 1535(define-obsolete-function-alias 'dired-info #'dired-do-info "29.1")
1543 1536
diff --git a/lisp/dos-fns.el b/lisp/dos-fns.el
index ea54eea6036..edbe9e494f1 100644
--- a/lisp/dos-fns.el
+++ b/lisp/dos-fns.el
@@ -231,9 +231,6 @@ returned unaltered."
231 231
232(add-hook 'before-init-hook 'dos-reevaluate-defcustoms) 232(add-hook 'before-init-hook 'dos-reevaluate-defcustoms)
233 233
234(define-obsolete-variable-alias
235 'register-name-alist 'dos-register-name-alist "24.1")
236
237(defvar dos-register-name-alist 234(defvar dos-register-name-alist
238 '((ax . 0) (bx . 1) (cx . 2) (dx . 3) (si . 4) (di . 5) 235 '((ax . 0) (bx . 1) (cx . 2) (dx . 3) (si . 4) (di . 5)
239 (cflag . 6) (flags . 7) 236 (cflag . 6) (flags . 7)
@@ -243,8 +240,6 @@ returned unaltered."
243(defun dos-make-register () 240(defun dos-make-register ()
244 (make-vector 8 0)) 241 (make-vector 8 0))
245 242
246(define-obsolete-function-alias 'make-register 'dos-make-register "24.1")
247
248(defun dos-register-value (regs name) 243(defun dos-register-value (regs name)
249 (let ((where (cdr (assoc name dos-register-name-alist)))) 244 (let ((where (cdr (assoc name dos-register-name-alist))))
250 (cond ((consp where) 245 (cond ((consp where)
@@ -256,8 +251,6 @@ returned unaltered."
256 (aref regs where)) 251 (aref regs where))
257 (t nil)))) 252 (t nil))))
258 253
259(define-obsolete-function-alias 'register-value 'dos-register-value "24.1")
260
261(defun dos-set-register-value (regs name value) 254(defun dos-set-register-value (regs name value)
262 (and (numberp value) 255 (and (numberp value)
263 (>= value 0) 256 (>= value 0)
@@ -274,9 +267,6 @@ returned unaltered."
274 (aset regs where (logand value 65535)))))) 267 (aset regs where (logand value 65535))))))
275 regs) 268 regs)
276 269
277(define-obsolete-function-alias
278 'set-register-value 'dos-set-register-value "24.1")
279
280(defsubst dos-intdos (regs) 270(defsubst dos-intdos (regs)
281 "Issue the DOS Int 21h with registers REGS. 271 "Issue the DOS Int 21h with registers REGS.
282 272
@@ -284,8 +274,6 @@ REGS should be a vector produced by `dos-make-register'
284and `dos-set-register-value', which see." 274and `dos-set-register-value', which see."
285 (int86 33 regs)) 275 (int86 33 regs))
286 276
287(define-obsolete-function-alias 'intdos 'dos-intdos "24.1")
288
289;; Backward compatibility for obsolescent functions which 277;; Backward compatibility for obsolescent functions which
290;; set screen size. 278;; set screen size.
291 279
@@ -294,8 +282,6 @@ and `dos-set-register-value', which see."
294 (interactive) 282 (interactive)
295 (set-frame-size (selected-frame) 80 25)) 283 (set-frame-size (selected-frame) 80 25))
296 284
297(define-obsolete-function-alias 'mode25 'dos-mode25 "24.1")
298
299(defun dos-mode4350 () 285(defun dos-mode4350 ()
300 "Change the number of rows to 43 or 50. 286 "Change the number of rows to 43 or 50.
301Emacs always tries to set the screen height to 50 rows first. 287Emacs always tries to set the screen height to 50 rows first.
@@ -307,8 +293,6 @@ that your video hardware might not support 50-line mode."
307 nil ; the original built-in function returned nil 293 nil ; the original built-in function returned nil
308 (set-frame-size (selected-frame) 80 43))) 294 (set-frame-size (selected-frame) 80 43)))
309 295
310(define-obsolete-function-alias 'mode4350 'dos-mode4350 "24.1")
311
312(provide 'dos-fns) 296(provide 'dos-fns)
313 297
314;;; dos-fns.el ends here 298;;; dos-fns.el ends here
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 5ef517d7e32..8df4133b6b0 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -244,11 +244,6 @@ the functions you loaded will not be able to run.")
244(make-obsolete-variable 'byte-compile-dynamic "not worthwhile any more." "27.1") 244(make-obsolete-variable 'byte-compile-dynamic "not worthwhile any more." "27.1")
245;;;###autoload(put 'byte-compile-dynamic 'safe-local-variable 'booleanp) 245;;;###autoload(put 'byte-compile-dynamic 'safe-local-variable 'booleanp)
246 246
247(defvar byte-compile-disable-print-circle nil
248 "If non-nil, disable `print-circle' on printing a byte-compiled code.")
249(make-obsolete-variable 'byte-compile-disable-print-circle nil "24.1")
250;;;###autoload(put 'byte-compile-disable-print-circle 'safe-local-variable 'booleanp)
251
252(defcustom byte-compile-dynamic-docstrings t 247(defcustom byte-compile-dynamic-docstrings t
253 "If non-nil, compile doc strings for lazy access. 248 "If non-nil, compile doc strings for lazy access.
254We bury the doc strings of functions and variables inside comments in 249We bury the doc strings of functions and variables inside comments in
@@ -2423,8 +2418,7 @@ Call from the source buffer."
2423 (print-level nil) 2418 (print-level nil)
2424 (print-quoted t) 2419 (print-quoted t)
2425 (print-gensym t) 2420 (print-gensym t)
2426 (print-circle ; Handle circular data structures. 2421 (print-circle t)) ; Handle circular data structures.
2427 (not byte-compile-disable-print-circle)))
2428 (if (and (memq (car-safe form) '(defvar defvaralias defconst 2422 (if (and (memq (car-safe form) '(defvar defvaralias defconst
2429 autoload custom-declare-variable)) 2423 autoload custom-declare-variable))
2430 (stringp (nth 3 form))) 2424 (stringp (nth 3 form)))
@@ -2482,8 +2476,7 @@ list that represents a doc string reference.
2482 (print-level nil) 2476 (print-level nil)
2483 (print-quoted t) 2477 (print-quoted t)
2484 (print-gensym t) 2478 (print-gensym t)
2485 (print-circle ; Handle circular data structures. 2479 (print-circle t)) ; Handle circular data structures.
2486 (not byte-compile-disable-print-circle)))
2487 (if preface 2480 (if preface
2488 (progn 2481 (progn
2489 ;; FIXME: We don't handle uninterned names correctly. 2482 ;; FIXME: We don't handle uninterned names correctly.
diff --git a/lisp/emacs-lisp/chart.el b/lisp/emacs-lisp/chart.el
index 29fbcce7734..716b236d3ab 100644
--- a/lisp/emacs-lisp/chart.el
+++ b/lisp/emacs-lisp/chart.el
@@ -63,7 +63,6 @@
63(eval-when-compile (require 'cl-generic)) 63(eval-when-compile (require 'cl-generic))
64 64
65;;; Code: 65;;; Code:
66(define-obsolete-variable-alias 'chart-map 'chart-mode-map "24.1")
67(defvar chart-mode-map (make-sparse-keymap) "Keymap used in chart mode.") 66(defvar chart-mode-map (make-sparse-keymap) "Keymap used in chart mode.")
68 67
69(defvar-local chart-local-object nil 68(defvar-local chart-local-object nil
diff --git a/lisp/emacs-lisp/eieio-core.el b/lisp/emacs-lisp/eieio-core.el
index d9864e6965d..25f2dd40980 100644
--- a/lisp/emacs-lisp/eieio-core.el
+++ b/lisp/emacs-lisp/eieio-core.el
@@ -24,8 +24,8 @@
24;;; Commentary: 24;;; Commentary:
25;; 25;;
26;; The "core" part of EIEIO is the implementation for the object 26;; The "core" part of EIEIO is the implementation for the object
27;; system (such as eieio-defclass, or eieio-defmethod) but not the 27;; system (such as eieio-defclass-internal, or cl-defmethod) but not
28;; base classes for the object system, which are defined in EIEIO. 28;; the base classes for the object system, which are defined in EIEIO.
29;; 29;;
30;; See the commentary for eieio.el for more about EIEIO itself. 30;; See the commentary for eieio.el for more about EIEIO itself.
31 31
diff --git a/lisp/emacs-lisp/ert-x.el b/lisp/emacs-lisp/ert-x.el
index de18adff5b8..ae72a47c2fc 100644
--- a/lisp/emacs-lisp/ert-x.el
+++ b/lisp/emacs-lisp/ert-x.el
@@ -158,9 +158,6 @@ test for `called-interactively' in the command will fail."
158 (run-hooks 'pre-command-hook) 158 (run-hooks 'pre-command-hook)
159 (setq return-value (apply (car command) (cdr command))) 159 (setq return-value (apply (car command) (cdr command)))
160 (run-hooks 'post-command-hook) 160 (run-hooks 'post-command-hook)
161 (and (boundp 'deferred-action-list)
162 deferred-action-list
163 (run-hooks 'deferred-action-function))
164 (setq real-last-command (car command) 161 (setq real-last-command (car command)
165 last-command this-command) 162 last-command this-command)
166 (when (boundp 'last-repeatable-command) 163 (when (boundp 'last-repeatable-command)
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
index 641ce0d5c02..4b85414943a 100644
--- a/lisp/emacs-lisp/lisp.el
+++ b/lisp/emacs-lisp/lisp.el
@@ -943,14 +943,7 @@ character."
943(defun field-complete (table &optional predicate) 943(defun field-complete (table &optional predicate)
944 (declare (obsolete completion-in-region "24.4")) 944 (declare (obsolete completion-in-region "24.4"))
945 (let ((minibuffer-completion-table table) 945 (let ((minibuffer-completion-table table)
946 (minibuffer-completion-predicate predicate) 946 (minibuffer-completion-predicate predicate))
947 ;; This made sense for lisp-complete-symbol, but for
948 ;; field-complete, this is out of place. --Stef
949 ;; (completion-annotate-function
950 ;; (unless (eq predicate 'fboundp)
951 ;; (lambda (str)
952 ;; (if (fboundp (intern-soft str)) " <f>"))))
953 )
954 (call-interactively 'minibuffer-complete))) 947 (call-interactively 'minibuffer-complete)))
955 948
956(defun lisp-complete-symbol (&optional _predicate) 949(defun lisp-complete-symbol (&optional _predicate)
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index c8b66675970..8d0d5d57a22 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -3520,9 +3520,6 @@ The full list of keys can be viewed with \\[describe-mode]."
3520 (message (mapconcat #'package--prettify-quick-help-key 3520 (message (mapconcat #'package--prettify-quick-help-key
3521 package--quick-help-keys "\n"))) 3521 package--quick-help-keys "\n")))
3522 3522
3523(define-obsolete-function-alias
3524 'package-menu-view-commentary 'package-menu-describe-package "24.1")
3525
3526(defun package-menu-get-status () 3523(defun package-menu-get-status ()
3527 "Return status text of package at point in Package Menu." 3524 "Return status text of package at point in Package Menu."
3528 (package--ensure-package-menu-mode) 3525 (package--ensure-package-menu-mode)
diff --git a/lisp/emacs-lisp/trace.el b/lisp/emacs-lisp/trace.el
index 7377ac94039..c2f6c162269 100644
--- a/lisp/emacs-lisp/trace.el
+++ b/lisp/emacs-lisp/trace.el
@@ -275,10 +275,9 @@ If `current-prefix-arg' is non-nil, also read a buffer and a \"context\"
275 (list 275 (list
276 (read-buffer "Output to buffer" trace-buffer) 276 (read-buffer "Output to buffer" trace-buffer)
277 (let ((exp 277 (let ((exp
278 (let ((minibuffer-completing-symbol t)) 278 (read-from-minibuffer "Context expression: "
279 (read-from-minibuffer "Context expression: " 279 nil read-expression-map t
280 nil read-expression-map t 280 'read-expression-history)))
281 'read-expression-history))))
282 (lambda () 281 (lambda ()
283 (let ((print-circle t) 282 (let ((print-circle t)
284 (print-escape-newlines t)) 283 (print-escape-newlines t))
diff --git a/lisp/emacs-lock.el b/lisp/emacs-lock.el
index 3d2eda99a9c..1818e22a923 100644
--- a/lisp/emacs-lock.el
+++ b/lisp/emacs-lock.el
@@ -88,9 +88,6 @@ 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
94(defvar-local emacs-lock-mode nil 91(defvar-local emacs-lock-mode nil
95 "If non-nil, the current buffer is locked. 92 "If non-nil, the current buffer is locked.
96It can be one of the following values: 93It can be one of the following values:
@@ -247,14 +244,6 @@ some major modes from being locked under some circumstances."
247 ;; continue standard unloading 244 ;; continue standard unloading
248 nil)) 245 nil))
249 246
250;;; Compatibility
251
252(defun toggle-emacs-lock ()
253 "Toggle `emacs-lock-from-exiting' for the current buffer."
254 (declare (obsolete emacs-lock-mode "24.1"))
255 (interactive)
256 (call-interactively 'emacs-lock-mode))
257
258(provide 'emacs-lock) 247(provide 'emacs-lock)
259 248
260;;; emacs-lock.el ends here 249;;; emacs-lock.el ends here
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index 239d8ebdcb6..0a16831fba3 100644
--- a/lisp/erc/erc.el
+++ b/lisp/erc/erc.el
@@ -4566,8 +4566,6 @@ This places `point' just after the prompt, or at the beginning of the line."
4566(defun erc-complete-word-at-point () 4566(defun erc-complete-word-at-point ()
4567 (run-hook-with-args-until-success 'erc-complete-functions)) 4567 (run-hook-with-args-until-success 'erc-complete-functions))
4568 4568
4569(define-obsolete-function-alias 'erc-complete-word #'completion-at-point "24.1")
4570
4571;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 4569;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4572;; 4570;;
4573;; IRC SERVER INPUT HANDLING 4571;; IRC SERVER INPUT HANDLING
diff --git a/lisp/eshell/em-cmpl.el b/lisp/eshell/em-cmpl.el
index f4c1302629b..822cc941491 100644
--- a/lisp/eshell/em-cmpl.el
+++ b/lisp/eshell/em-cmpl.el
@@ -158,14 +158,6 @@ to writing a completion function."
158 (eshell-cmpl--custom-variable-docstring 'pcomplete-autolist) 158 (eshell-cmpl--custom-variable-docstring 'pcomplete-autolist)
159 :type (get 'pcomplete-autolist 'custom-type)) 159 :type (get 'pcomplete-autolist 'custom-type))
160 160
161(defcustom eshell-cmpl-suffix-list (list ?/ ?:)
162 (eshell-cmpl--custom-variable-docstring 'pcomplete-suffix-list)
163 :type (get 'pcomplete-suffix-list 'custom-type)
164 :group 'pcomplete)
165;; Only labeled obsolete in 26.1, but all it does it set
166;; pcomplete-suffix-list, which is itself obsolete since 24.1.
167(make-obsolete-variable 'eshell-cmpl-suffix-list nil "24.1")
168
169(defcustom eshell-cmpl-recexact nil 161(defcustom eshell-cmpl-recexact nil
170 (eshell-cmpl--custom-variable-docstring 'pcomplete-recexact) 162 (eshell-cmpl--custom-variable-docstring 'pcomplete-recexact)
171 :type (get 'pcomplete-recexact 'custom-type)) 163 :type (get 'pcomplete-recexact 'custom-type))
@@ -262,9 +254,6 @@ to writing a completion function."
262 eshell-cmpl-ignore-case) 254 eshell-cmpl-ignore-case)
263 (setq-local pcomplete-autolist 255 (setq-local pcomplete-autolist
264 eshell-cmpl-autolist) 256 eshell-cmpl-autolist)
265 (if (boundp 'pcomplete-suffix-list)
266 (setq-local pcomplete-suffix-list
267 eshell-cmpl-suffix-list))
268 (setq-local pcomplete-recexact 257 (setq-local pcomplete-recexact
269 eshell-cmpl-recexact) 258 eshell-cmpl-recexact)
270 (setq-local pcomplete-man-function 259 (setq-local pcomplete-man-function
diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el
index 6b864983995..5144e305121 100644
--- a/lisp/eshell/esh-util.el
+++ b/lisp/eshell/esh-util.el
@@ -301,15 +301,6 @@ Prepend remote identification of `default-directory', if any."
301 (setq text (replace-match " " t t text))) 301 (setq text (replace-match " " t t text)))
302 text)) 302 text))
303 303
304(defmacro eshell-for (for-var for-list &rest forms)
305 "Iterate through a list."
306 (declare (obsolete dolist "24.1") (indent 2))
307 `(let ((list-iter ,for-list))
308 (while list-iter
309 (let ((,for-var (car list-iter)))
310 ,@forms)
311 (setq list-iter (cdr list-iter)))))
312
313(define-obsolete-function-alias 'eshell-flatten-list #'flatten-tree "27.1") 304(define-obsolete-function-alias 'eshell-flatten-list #'flatten-tree "27.1")
314 305
315(defun eshell-stringify (object) 306(defun eshell-stringify (object)
diff --git a/lisp/files-x.el b/lisp/files-x.el
index 8224a574507..da1e44e2504 100644
--- a/lisp/files-x.el
+++ b/lisp/files-x.el
@@ -81,8 +81,7 @@ Intended to be used in the `interactive' spec of
81 (let ((default (format "%S" 81 (let ((default (format "%S"
82 (cond ((eq variable 'unibyte) t) 82 (cond ((eq variable 'unibyte) t)
83 ((boundp variable) 83 ((boundp variable)
84 (symbol-value variable))))) 84 (symbol-value variable))))))
85 (minibuffer-completing-symbol t))
86 (read-from-minibuffer (format "Add %s with value: " variable) 85 (read-from-minibuffer (format "Add %s with value: " variable)
87 nil read-expression-map t 86 nil read-expression-map t
88 'set-variable-value-history 87 'set-variable-value-history
diff --git a/lisp/files.el b/lisp/files.el
index 992f9879437..2ea9d1e4673 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3161,9 +3161,6 @@ major mode MODE.
3161 3161
3162See also `auto-mode-alist'.") 3162See also `auto-mode-alist'.")
3163 3163
3164(define-obsolete-variable-alias 'inhibit-first-line-modes-regexps
3165 'inhibit-file-local-variables-regexps "24.1")
3166
3167;; TODO really this should be a list of modes (eg tar-mode), not regexps, 3164;; TODO really this should be a list of modes (eg tar-mode), not regexps,
3168;; because we are duplicating info from auto-mode-alist. 3165;; because we are duplicating info from auto-mode-alist.
3169;; TODO many elements of this list are also in auto-coding-alist. 3166;; TODO many elements of this list are also in auto-coding-alist.
@@ -3184,9 +3181,6 @@ member files with their own local variable sections, which are
3184not appropriate for the containing file. 3181not appropriate for the containing file.
3185The function `inhibit-local-variables-p' uses this.") 3182The function `inhibit-local-variables-p' uses this.")
3186 3183
3187(define-obsolete-variable-alias 'inhibit-first-line-modes-suffixes
3188 'inhibit-local-variables-suffixes "24.1")
3189
3190(defvar inhibit-local-variables-suffixes nil 3184(defvar inhibit-local-variables-suffixes nil
3191 "List of regexps matching suffixes to remove from file names. 3185 "List of regexps matching suffixes to remove from file names.
3192The function `inhibit-local-variables-p' uses this: when checking 3186The function `inhibit-local-variables-p' uses this: when checking
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el
index 17a87134be0..3fc5ce2408a 100644
--- a/lisp/gnus/gnus-msg.el
+++ b/lisp/gnus/gnus-msg.el
@@ -52,24 +52,6 @@ method to use when posting."
52 (const current) 52 (const current)
53 (sexp :tag "Methods" ,gnus-select-method))) 53 (sexp :tag "Methods" ,gnus-select-method)))
54 54
55(defcustom gnus-outgoing-message-group nil
56 "All outgoing messages will be put in this group.
57If you want to store all your outgoing mail and articles in the group
58\"nnml:archive\", you set this variable to that value. This variable
59can also be a list of group names.
60
61If you want to have greater control over what group to put each
62message in, you can set this variable to a function that checks the
63current newsgroup name and then returns a suitable group name (or list
64of names)."
65 :group 'gnus-message
66 :type '(choice (const nil)
67 (function)
68 (string :tag "Group")
69 (repeat :tag "List of groups" (string :tag "Group"))))
70
71(make-obsolete-variable 'gnus-outgoing-message-group 'gnus-message-archive-group "24.1")
72
73(defcustom gnus-mailing-list-groups nil 55(defcustom gnus-mailing-list-groups nil
74 "If non-nil a regexp matching groups that are really mailing lists. 56 "If non-nil a regexp matching groups that are really mailing lists.
75This is useful when you're reading a mailing list that has been 57This is useful when you're reading a mailing list that has been
@@ -215,30 +197,6 @@ use this option with care."
215 :parameter-document "\ 197 :parameter-document "\
216List of charsets that are permitted to be unencoded.") 198List of charsets that are permitted to be unencoded.")
217 199
218(defcustom gnus-debug-files
219 '("gnus.el" "gnus-sum.el" "gnus-group.el"
220 "gnus-art.el" "gnus-start.el" "gnus-async.el"
221 "gnus-msg.el" "gnus-score.el" "gnus-win.el" "gnus-topic.el"
222 "gnus-agent.el" "gnus-cache.el" "gnus-srvr.el"
223 "mm-util.el" "mm-decode.el" "nnmail.el" "message.el")
224 "Files whose variables will be reported in `gnus-bug'."
225 :version "22.1"
226 :group 'gnus-message
227 :type '(repeat file))
228
229(make-obsolete-variable 'gnus-debug-files "it is no longer used." "24.1")
230
231(defcustom gnus-debug-exclude-variables
232 '(mm-mime-mule-charset-alist
233 nnmail-split-fancy message-minibuffer-local-map)
234 "Variables that should not be reported in `gnus-bug'."
235 :version "22.1"
236 :group 'gnus-message
237 :type '(repeat variable))
238
239(make-obsolete-variable
240 'gnus-debug-exclude-variables "it is no longer used." "24.1")
241
242(defcustom gnus-discouraged-post-methods 200(defcustom gnus-discouraged-post-methods
243 '(nndraft nnml nnimap nnmaildir nnmh nnfolder nndir) 201 '(nndraft nnml nnimap nnmaildir nnmh nnfolder nndir)
244 "A list of back ends that are not used in \"real\" newsgroups. 202 "A list of back ends that are not used in \"real\" newsgroups.
@@ -1665,7 +1623,7 @@ this is a reply."
1665(defun gnus-inews-insert-gcc (&optional group) 1623(defun gnus-inews-insert-gcc (&optional group)
1666 "Insert the Gcc to say where the article is to be archived." 1624 "Insert the Gcc to say where the article is to be archived."
1667 (let* ((group (or group gnus-newsgroup-name)) 1625 (let* ((group (or group gnus-newsgroup-name))
1668 (var (or gnus-outgoing-message-group gnus-message-archive-group)) 1626 (var gnus-message-archive-group)
1669 (gcc-self-val 1627 (gcc-self-val
1670 (and group (not (gnus-virtual-group-p group)) 1628 (and group (not (gnus-virtual-group-p group))
1671 (gnus-group-find-parameter group 'gcc-self t))) 1629 (gnus-group-find-parameter group 'gcc-self t)))
diff --git a/lisp/gnus/gnus-registry.el b/lisp/gnus/gnus-registry.el
index 8cefb09b66a..ceeb1848542 100644
--- a/lisp/gnus/gnus-registry.el
+++ b/lisp/gnus/gnus-registry.el
@@ -1004,9 +1004,6 @@ Uses `gnus-registry-marks' to find what shortcuts to install."
1004 nil 1004 nil
1005 (cons "Registry Marks" gnus-registry-misc-menus))))) 1005 (cons "Registry Marks" gnus-registry-misc-menus)))))
1006 1006
1007(define-obsolete-function-alias 'gnus-registry-user-format-function-M
1008 #'gnus-registry-article-marks-to-chars "24.1")
1009
1010;; use like this: 1007;; use like this:
1011;; (defalias 'gnus-user-format-function-M #'gnus-registry-article-marks-to-chars) 1008;; (defalias 'gnus-user-format-function-M #'gnus-registry-article-marks-to-chars)
1012(defun gnus-registry-article-marks-to-chars (headers) 1009(defun gnus-registry-article-marks-to-chars (headers)
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el
index 2119e68509e..7eea08f1744 100644
--- a/lisp/gnus/gnus.el
+++ b/lisp/gnus/gnus.el
@@ -1130,16 +1130,6 @@ you could set this variable:
1130 :group 'gnus-server 1130 :group 'gnus-server
1131 :type '(repeat gnus-select-method)) 1131 :type '(repeat gnus-select-method))
1132 1132
1133(defcustom gnus-local-domain nil
1134 "Local domain name without a host name.
1135The DOMAINNAME environment variable is used instead if it is defined.
1136If the function `system-name' returns the full Internet name, there is
1137no need to set this variable."
1138 :group 'gnus-message
1139 :type '(choice (const :tag "default" nil)
1140 string))
1141(make-obsolete-variable 'gnus-local-domain nil "24.1")
1142
1143;; Customization variables 1133;; Customization variables
1144 1134
1145(defcustom gnus-refer-article-method 'current 1135(defcustom gnus-refer-article-method 'current
@@ -2316,11 +2306,6 @@ automatically cache the article in the agent cache."
2316(defvar gnus-server-method-cache nil) 2306(defvar gnus-server-method-cache nil)
2317(defvar gnus-extended-servers nil) 2307(defvar gnus-extended-servers nil)
2318 2308
2319;; The carpal mode has been removed, but define the variable for
2320;; backwards compatibility.
2321(defvar gnus-carpal nil)
2322(make-obsolete-variable 'gnus-carpal nil "24.1")
2323
2324(defvar gnus-agent-fetching nil 2309(defvar gnus-agent-fetching nil
2325 "Whether Gnus agent is in fetching mode.") 2310 "Whether Gnus agent is in fetching mode.")
2326 2311
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index c629cb85d96..746109f26fa 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -95,9 +95,6 @@ Uses the same syntax as `nnmail-split-methods'.")
95(defvoo nnimap-unsplittable-articles '(%Deleted %Seen) 95(defvoo nnimap-unsplittable-articles '(%Deleted %Seen)
96 "Articles with the flags in the list will not be considered when splitting.") 96 "Articles with the flags in the list will not be considered when splitting.")
97 97
98(make-obsolete-variable 'nnimap-split-rule "see `nnimap-split-methods'."
99 "24.1")
100
101(defvoo nnimap-authenticator nil 98(defvoo nnimap-authenticator nil
102 "How nnimap authenticate itself to the server. 99 "How nnimap authenticate itself to the server.
103Possible choices are nil (use default methods), `anonymous', 100Possible choices are nil (use default methods), `anonymous',
diff --git a/lisp/iimage.el b/lisp/iimage.el
index 8a765d5e5d5..baeb4bb6a7b 100644
--- a/lisp/iimage.el
+++ b/lisp/iimage.el
@@ -87,9 +87,6 @@ Examples of image filename patterns to match:
87 (iimage-mode-buffer t) 87 (iimage-mode-buffer t)
88 (recenter-top-bottom arg)) 88 (recenter-top-bottom arg))
89 89
90;;;###autoload
91(define-obsolete-function-alias 'turn-on-iimage-mode 'iimage-mode "24.1")
92
93(defun turn-off-iimage-mode () 90(defun turn-off-iimage-mode ()
94 "Unconditionally turn off iimage mode." 91 "Unconditionally turn off iimage mode."
95 (interactive) 92 (interactive)
diff --git a/lisp/image.el b/lisp/image.el
index e90cccaa096..bdaaec608ef 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -446,15 +446,6 @@ type if we can't otherwise guess it."
446 (error "Invalid image type `%s'" type)) 446 (error "Invalid image type `%s'" type))
447 type) 447 type)
448 448
449
450(if (fboundp 'image-metadata) ; eg not --without-x
451 (define-obsolete-function-alias 'image-extension-data
452 'image-metadata "24.1"))
453
454(define-obsolete-variable-alias
455 'image-library-alist
456 'dynamic-library-alist "24.1")
457
458;;;###autoload 449;;;###autoload
459(defun image-type-available-p (type) 450(defun image-type-available-p (type)
460 "Return t if image type TYPE is available. 451 "Return t if image type TYPE is available.
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 9d2e20ae04b..d743802eade 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -42,9 +42,6 @@
42 :group 'maint 42 :group 'maint
43 :group 'mail) 43 :group 'mail)
44 44
45(define-obsolete-variable-alias 'report-emacs-bug-pretest-address
46 'report-emacs-bug-address "24.1")
47
48(defcustom report-emacs-bug-no-confirmation nil 45(defcustom report-emacs-bug-no-confirmation nil
49 "If non-nil, suppress the confirmations asked for the sake of novice users." 46 "If non-nil, suppress the confirmations asked for the sake of novice users."
50 :type 'boolean) 47 :type 'boolean)
diff --git a/lisp/mail/mail-utils.el b/lisp/mail/mail-utils.el
index 952970d07c0..9ea2cc92e94 100644
--- a/lisp/mail/mail-utils.el
+++ b/lisp/mail/mail-utils.el
@@ -239,12 +239,8 @@ comma-separated list, and return the pruned list."
239 ;; Or just set the default directly in the defcustom. 239 ;; Or just set the default directly in the defcustom.
240 (if (null mail-dont-reply-to-names) 240 (if (null mail-dont-reply-to-names)
241 (setq mail-dont-reply-to-names 241 (setq mail-dont-reply-to-names
242 ;; `rmail-default-dont-reply-to-names' is obsolete. 242 (if (> (length user-mail-address) 0)
243 (let ((a (bound-and-true-p rmail-default-dont-reply-to-names)) 243 (concat "\\`" (regexp-quote user-mail-address) "\\'"))))
244 (b (if (> (length user-mail-address) 0)
245 (concat "\\`" (regexp-quote user-mail-address) "\\'"))))
246 (cond ((and a b) (concat a "\\|" b))
247 ((or a b))))))
248 ;; Split up DESTINATIONS and match each element separately. 244 ;; Split up DESTINATIONS and match each element separately.
249 (let ((start-pos 0) (cur-pos 0) 245 (let ((start-pos 0) (cur-pos 0)
250 (case-fold-search t)) 246 (case-fold-search t))
@@ -281,9 +277,6 @@ comma-separated list, and return the pruned list."
281 (substring destinations (match-end 0)) 277 (substring destinations (match-end 0))
282 destinations)) 278 destinations))
283 279
284;; Legacy name
285(define-obsolete-function-alias 'rmail-dont-reply-to #'mail-dont-reply-to "24.1")
286
287 280
288;;;###autoload 281;;;###autoload
289(defun mail-fetch-field (field-name &optional last all list delete) 282(defun mail-fetch-field (field-name &optional last all list delete)
diff --git a/lisp/mail/mailalias.el b/lisp/mail/mailalias.el
index ba7cf58d383..c97786190c3 100644
--- a/lisp/mail/mailalias.el
+++ b/lisp/mail/mailalias.el
@@ -72,8 +72,7 @@ When t this still needs to be initialized.")
72 ) 72 )
73 "Alist of header field and expression to return alist for completion. 73 "Alist of header field and expression to return alist for completion.
74The expression may reference the variable `pattern' 74The expression may reference the variable `pattern'
75which will hold the string being completed. 75which will hold the string being completed."
76If not on matching header, `mail-complete-function' gets called instead."
77 :type 'alist 76 :type 'alist
78 :group 'mailalias) 77 :group 'mailalias)
79(put 'mail-complete-alist 'risky-local-variable t) 78(put 'mail-complete-alist 'risky-local-variable t)
@@ -90,13 +89,6 @@ If `angles', they look like:
90 :type '(choice (const angles) (const parens) (const nil)) 89 :type '(choice (const angles) (const parens) (const nil))
91 :group 'mailalias) 90 :group 'mailalias)
92 91
93(defcustom mail-complete-function 'ispell-complete-word
94 "Function to call when completing outside `mail-complete-alist'-header."
95 :type '(choice function (const nil))
96 :group 'mailalias)
97(make-obsolete-variable 'mail-complete-function
98 'completion-at-point-functions "24.1")
99
100(defcustom mail-directory-function nil 92(defcustom mail-directory-function nil
101 "Function to get completions from directory service or nil for none. 93 "Function to get completions from directory service or nil for none.
102See `mail-directory-requery'." 94See `mail-directory-requery'."
@@ -433,25 +425,6 @@ For use on `completion-at-point-functions'."
433 (let ((pattern prefix)) (eval list-exp)))))) 425 (let ((pattern prefix)) (eval list-exp))))))
434 (list beg end table))))) 426 (list beg end table)))))
435 427
436;;;###autoload
437(defun mail-complete (arg)
438 "Perform completion on header field or word preceding point.
439Completable headers are according to `mail-complete-alist'. If none matches
440current header, calls `mail-complete-function' and passes prefix ARG if any."
441 (declare (obsolete mail-completion-at-point-function "24.1"))
442 (interactive "P")
443 ;; Read the defaults first, if we have not done so.
444 (sendmail-sync-aliases)
445 (if (eq mail-aliases t)
446 (progn
447 (setq mail-aliases nil)
448 (if (file-exists-p mail-personal-alias-file)
449 (build-mail-aliases))))
450 (let ((data (mail-completion-at-point-function)))
451 (if data
452 (apply #'completion-in-region data)
453 (funcall mail-complete-function arg))))
454
455(defun mail-completion-expand (table) 428(defun mail-completion-expand (table)
456 "Build new completion table that expands aliases. 429 "Build new completion table that expands aliases.
457Completes like TABLE except that if the completion is a valid alias, 430Completes like TABLE except that if the completion is a valid alias,
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index b2b21b88ef8..467375dbe1f 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -315,20 +315,6 @@ Setting this variable has an effect only before reading a mail."
315 :version "21.1") 315 :version "21.1")
316 316
317;;;###autoload 317;;;###autoload
318(define-obsolete-variable-alias 'rmail-dont-reply-to-names
319 'mail-dont-reply-to-names "24.1")
320
321;; Prior to 24.1, this used to contain "\\`info-".
322;;;###autoload
323(defvar rmail-default-dont-reply-to-names nil
324 "Regexp specifying part of the default value of `mail-dont-reply-to-names'.
325This is used when the user does not set `mail-dont-reply-to-names'
326explicitly.")
327;;;###autoload
328(make-obsolete-variable 'rmail-default-dont-reply-to-names
329 'mail-dont-reply-to-names "24.1")
330
331;;;###autoload
332(defcustom rmail-ignored-headers 318(defcustom rmail-ignored-headers
333 (purecopy 319 (purecopy
334 (concat "^via:\\|^mail-from:\\|^origin:\\|^references:\\|^sender:" 320 (concat "^via:\\|^mail-from:\\|^origin:\\|^references:\\|^sender:"
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index c55cdc8412a..6afadca6bb3 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -430,20 +430,6 @@ support Delivery Status Notification."
430 (const :tag "Success" success))) 430 (const :tag "Success" success)))
431 :version "22.1") 431 :version "22.1")
432 432
433;; Note: could use /usr/ucb/mail instead of sendmail;
434;; options -t, and -v if not interactive.
435(defvar mail-mailer-swallows-blank-line nil
436 "Set this non-nil if the system's mailer runs the header and body together.
437The actual value should be an expression to evaluate that returns
438non-nil if the problem will actually occur.
439\(As far as we know, this is not an issue on any system still supported
440by Emacs.)")
441
442(put 'mail-mailer-swallows-blank-line 'risky-local-variable t) ; gets evalled
443(make-obsolete-variable 'mail-mailer-swallows-blank-line
444 "no need to set this on any modern system."
445 "24.1" 'set)
446
447(defvar mail-mode-syntax-table 433(defvar mail-mode-syntax-table
448 ;; define-derived-mode will make it inherit from text-mode-syntax-table. 434 ;; define-derived-mode will make it inherit from text-mode-syntax-table.
449 (let ((st (make-syntax-table))) 435 (let ((st (make-syntax-table)))
@@ -1309,8 +1295,6 @@ external program defined by `sendmail-program'."
1309 ;; Insert an extra newline if we need it to work around 1295 ;; Insert an extra newline if we need it to work around
1310 ;; Sun's bug that swallows newlines. 1296 ;; Sun's bug that swallows newlines.
1311 (goto-char (1+ delimline)) 1297 (goto-char (1+ delimline))
1312 (if (eval mail-mailer-swallows-blank-line)
1313 (newline))
1314 ;; Find and handle any Fcc fields. 1298 ;; Find and handle any Fcc fields.
1315 (goto-char (point-min)) 1299 (goto-char (point-min))
1316 (if (re-search-forward "^Fcc:" delimline t) 1300 (if (re-search-forward "^Fcc:" delimline t)
@@ -1495,28 +1479,6 @@ just append to the file, in Babyl format if necessary."
1495 (with-current-buffer buffer 1479 (with-current-buffer buffer
1496 (set-visited-file-modtime))))))))) 1480 (set-visited-file-modtime)))))))))
1497 1481
1498(defun mail-sent-via ()
1499 "Make a Sent-via header line from each To or Cc header line."
1500 (declare (obsolete "nobody can remember what it is for." "24.1"))
1501 (interactive)
1502 (save-excursion
1503 ;; put a marker at the end of the header
1504 (let ((end (copy-marker (mail-header-end)))
1505 (case-fold-search t))
1506 (goto-char (point-min))
1507 ;; search for the To: lines and make Sent-via: lines from them
1508 ;; search for the next To: line
1509 (while (re-search-forward "^\\(to\\|cc\\):" end t)
1510 ;; Grab this line plus all its continuations, sans the `to:'.
1511 (let ((to-line
1512 (buffer-substring (point)
1513 (progn
1514 (if (re-search-forward "^[^ \t\n]" end t)
1515 (backward-char 1)
1516 (goto-char end))
1517 (point)))))
1518 ;; Insert a copy, with altered header field name.
1519 (insert-before-markers "Sent-via:" to-line))))))
1520 1482
1521(defun mail-to () 1483(defun mail-to ()
1522 "Move point to end of To field, creating it if necessary." 1484 "Move point to end of To field, creating it if necessary."
@@ -1839,8 +1801,6 @@ If the current line has `mail-yank-prefix', insert it on the new line."
1839 (or (bolp) (newline)) 1801 (or (bolp) (newline))
1840 (goto-char start)))) 1802 (goto-char start))))
1841 1803
1842(define-obsolete-function-alias 'mail-attach-file #'mail-insert-file "24.1")
1843
1844(declare-function mml-attach-file "mml" 1804(declare-function mml-attach-file "mml"
1845 (file &optional type description disposition)) 1805 (file &optional type description disposition))
1846 1806
diff --git a/lisp/mail/smtpmail.el b/lisp/mail/smtpmail.el
index da786dec004..8cba2b14e14 100644
--- a/lisp/mail/smtpmail.el
+++ b/lisp/mail/smtpmail.el
@@ -342,8 +342,6 @@ for `smtpmail-try-auth-method'.")
342 ;; Insert an extra newline if we need it to work around 342 ;; Insert an extra newline if we need it to work around
343 ;; Sun's bug that swallows newlines. 343 ;; Sun's bug that swallows newlines.
344 (goto-char (1+ delimline)) 344 (goto-char (1+ delimline))
345 (if (eval mail-mailer-swallows-blank-line t)
346 (newline))
347 ;; Find and handle any Fcc fields. 345 ;; Find and handle any Fcc fields.
348 (goto-char (point-min)) 346 (goto-char (point-min))
349 (if (re-search-forward "^Fcc:" delimline t) 347 (if (re-search-forward "^Fcc:" delimline t)
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index a134654a020..12a0b4d328f 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -584,9 +584,6 @@
584 584
585 menu)) 585 menu))
586 586
587(define-obsolete-function-alias
588 'menu-bar-kill-ring-save 'kill-ring-save "24.1")
589
590;; These are alternative definitions for the cut, paste and copy 587;; These are alternative definitions for the cut, paste and copy
591;; menu items. Use them if your system expects these to use the clipboard. 588;; menu items. Use them if your system expects these to use the clipboard.
592 589
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index e029dfe4147..9d2abbd1180 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -2225,25 +2225,6 @@ These include:
2225 `exact' - text is a valid completion but may be further 2225 `exact' - text is a valid completion but may be further
2226 completed.") 2226 completed.")
2227 2227
2228(defvar completion-annotate-function
2229 nil
2230 ;; Note: there's a lot of scope as for when to add annotations and
2231 ;; what annotations to add. E.g. completing-help.el allowed adding
2232 ;; the first line of docstrings to M-x completion. But there's
2233 ;; a tension, since such annotations, while useful at times, can
2234 ;; actually drown the useful information.
2235 ;; So completion-annotate-function should be used parsimoniously, or
2236 ;; else only used upon a user's request (e.g. we could add a command
2237 ;; to completion-list-mode to add annotations to the current
2238 ;; completions).
2239 "Function to add annotations in the *Completions* buffer.
2240The function takes a completion and should either return nil, or a string that
2241will be displayed next to the completion. The function can access the
2242completion table and predicates via `minibuffer-completion-table' and related
2243variables.")
2244(make-obsolete-variable 'completion-annotate-function
2245 'completion-extra-properties "24.1")
2246
2247(defun completion--done (string &optional finished message) 2228(defun completion--done (string &optional finished message)
2248 (let* ((exit-fun (plist-get completion-extra-properties :exit-function)) 2229 (let* ((exit-fun (plist-get completion-extra-properties :exit-function))
2249 (pre-msg (and exit-fun (current-message)))) 2230 (pre-msg (and exit-fun (current-message))))
@@ -2314,8 +2295,7 @@ variables.")
2314 minibuffer-completion-predicate)) 2295 minibuffer-completion-predicate))
2315 (ann-fun (or (completion-metadata-get all-md 'annotation-function) 2296 (ann-fun (or (completion-metadata-get all-md 'annotation-function)
2316 (plist-get completion-extra-properties 2297 (plist-get completion-extra-properties
2317 :annotation-function) 2298 :annotation-function)))
2318 completion-annotate-function))
2319 (aff-fun (or (completion-metadata-get all-md 'affixation-function) 2299 (aff-fun (or (completion-metadata-get all-md 'affixation-function)
2320 (plist-get completion-extra-properties 2300 (plist-get completion-extra-properties
2321 :affixation-function))) 2301 :affixation-function)))
@@ -2790,9 +2770,6 @@ Gets combined either with `minibuffer-local-completion-map' or
2790with `minibuffer-local-must-match-map'." 2770with `minibuffer-local-must-match-map'."
2791 "SPC" nil) 2771 "SPC" nil)
2792 2772
2793(defvar minibuffer-local-filename-must-match-map (make-sparse-keymap))
2794(make-obsolete-variable 'minibuffer-local-filename-must-match-map nil "24.1")
2795
2796(defvar-keymap minibuffer-local-ns-map 2773(defvar-keymap minibuffer-local-ns-map
2797 :doc "Local keymap for the minibuffer when spaces are not allowed." 2774 :doc "Local keymap for the minibuffer when spaces are not allowed."
2798 :parent minibuffer-local-map 2775 :parent minibuffer-local-map
diff --git a/lisp/msb.el b/lisp/msb.el
index 616799f067b..19f0afed738 100644
--- a/lisp/msb.el
+++ b/lisp/msb.el
@@ -353,9 +353,6 @@ This is instead of the groups in `msb-menu-cond'."
353 :type 'boolean 353 :type 'boolean
354 :set #'msb-custom-set) 354 :set #'msb-custom-set)
355 355
356(define-obsolete-variable-alias 'msb-after-load-hooks
357 'msb-after-load-hook "24.1")
358
359(defcustom msb-after-load-hook nil 356(defcustom msb-after-load-hook nil
360 "Hook run after the msb package has been loaded." 357 "Hook run after the msb package has been loaded."
361 :type 'hook 358 :type 'hook
diff --git a/lisp/obsolete/eieio-compat.el b/lisp/obsolete/eieio-compat.el
index b31bde4efba..2ac75293fcc 100644
--- a/lisp/obsolete/eieio-compat.el
+++ b/lisp/obsolete/eieio-compat.el
@@ -249,21 +249,6 @@ Summary:
249 nil) 249 nil)
250 250
251;;;###autoload 251;;;###autoload
252(defun eieio-defmethod (method args)
253 "Obsolete work part of an old version of the `defmethod' macro."
254 (declare (obsolete cl-defmethod "24.1"))
255 (eval `(defmethod ,method ,@args))
256 method)
257
258;;;###autoload
259(defun eieio-defgeneric (method doc-string)
260 "Obsolete work part of an old version of the `defgeneric' macro."
261 (declare (obsolete cl-defgeneric "24.1"))
262 (eval `(defgeneric ,method (x) ,@(if doc-string `(,doc-string))))
263 ;; Return the method
264 'method)
265
266;;;###autoload
267(defun eieio-defclass (cname superclasses slots options) 252(defun eieio-defclass (cname superclasses slots options)
268 (declare (obsolete eieio-defclass-internal "25.1")) 253 (declare (obsolete eieio-defclass-internal "25.1"))
269 (eval `(defclass ,cname ,superclasses ,slots ,@options))) 254 (eval `(defclass ,cname ,superclasses ,slots ,@options)))
diff --git a/lisp/obsolete/info-edit.el b/lisp/obsolete/info-edit.el
index 6c1be1078ff..6c4c10ca6c2 100644
--- a/lisp/obsolete/info-edit.el
+++ b/lisp/obsolete/info-edit.el
@@ -33,7 +33,6 @@
33(make-obsolete-variable 'Info-edit-mode-hook 33(make-obsolete-variable 'Info-edit-mode-hook
34 "editing Info nodes by hand is not recommended." "24.4") 34 "editing Info nodes by hand is not recommended." "24.4")
35 35
36(define-obsolete-variable-alias 'Info-edit-map 'Info-edit-mode-map "24.1")
37(defvar Info-edit-mode-map (let ((map (make-sparse-keymap))) 36(defvar Info-edit-mode-map (let ((map (make-sparse-keymap)))
38 (set-keymap-parent map text-mode-map) 37 (set-keymap-parent map text-mode-map)
39 (define-key map "\C-c\C-c" #'Info-cease-edit) 38 (define-key map "\C-c\C-c" #'Info-cease-edit)
diff --git a/lisp/obsolete/starttls.el b/lisp/obsolete/starttls.el
index 6f0685d3dda..2f1f0e9773c 100644
--- a/lisp/obsolete/starttls.el
+++ b/lisp/obsolete/starttls.el
@@ -287,9 +287,6 @@ GnuTLS requires a port number."
287 starttls-gnutls-program 287 starttls-gnutls-program
288 starttls-program)))) 288 starttls-program))))
289 289
290(define-obsolete-function-alias 'starttls-any-program-available
291 #'starttls-available-p "24.1")
292
293(provide 'starttls) 290(provide 'starttls)
294 291
295;;; starttls.el ends here 292;;; starttls.el ends here
diff --git a/lisp/progmodes/cfengine.el b/lisp/progmodes/cfengine.el
index 00348ac0bb9..32031d19462 100644
--- a/lisp/progmodes/cfengine.el
+++ b/lisp/progmodes/cfengine.el
@@ -793,14 +793,6 @@ bundle agent rcfiles
793 (cdr (assq 'functions cfengine3-fallback-syntax))) 793 (cdr (assq 'functions cfengine3-fallback-syntax)))
794 'symbols)) 794 'symbols))
795 795
796(defcustom cfengine-mode-abbrevs nil
797 "Abbrevs for CFEngine2 mode."
798 :type '(repeat (list (string :tag "Name")
799 (string :tag "Expansion")
800 (choice :tag "Hook" (const nil) function))))
801
802(make-obsolete-variable 'cfengine-mode-abbrevs 'edit-abbrevs "24.1")
803
804;; Taken from the doc for pre-release 2.1. 796;; Taken from the doc for pre-release 2.1.
805(eval-and-compile 797(eval-and-compile
806 (defconst cfengine2-actions 798 (defconst cfengine2-actions
@@ -1409,7 +1401,6 @@ to the action header."
1409 (setq-local outline-regexp "[ \t]*\\(\\sw\\|\\s_\\)+:+") 1401 (setq-local outline-regexp "[ \t]*\\(\\sw\\|\\s_\\)+:+")
1410 (setq-local outline-level #'cfengine2-outline-level) 1402 (setq-local outline-level #'cfengine2-outline-level)
1411 (setq-local fill-paragraph-function #'cfengine-fill-paragraph) 1403 (setq-local fill-paragraph-function #'cfengine-fill-paragraph)
1412 (define-abbrev-table 'cfengine2-mode-abbrev-table cfengine-mode-abbrevs)
1413 (setq font-lock-defaults 1404 (setq font-lock-defaults
1414 '(cfengine2-font-lock-keywords nil nil nil beginning-of-line)) 1405 '(cfengine2-font-lock-keywords nil nil nil beginning-of-line))
1415 ;; Fixme: set the args of functions in evaluated classes to string 1406 ;; Fixme: set the args of functions in evaluated classes to string
diff --git a/lisp/progmodes/cwarn.el b/lisp/progmodes/cwarn.el
index 971e3f6174d..03469b9f55b 100644
--- a/lisp/progmodes/cwarn.el
+++ b/lisp/progmodes/cwarn.el
@@ -180,9 +180,6 @@ C++ modes are included."
180 (cwarn-font-lock-keywords cwarn-mode) 180 (cwarn-font-lock-keywords cwarn-mode)
181 (font-lock-flush)) 181 (font-lock-flush))
182 182
183;;;###autoload
184(define-obsolete-function-alias 'turn-on-cwarn-mode 'cwarn-mode "24.1")
185
186;;}}} 183;;}}}
187;;{{{ Help functions 184;;{{{ Help functions
188 185
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index 91307f6c09f..bd01786e08c 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -1170,7 +1170,6 @@ and adds all qualifying names to the list of known targets."
1170 (goto-char (match-end 0)) 1170 (goto-char (match-end 0))
1171 (insert suffix)))))))) 1171 (insert suffix))))))))
1172 1172
1173(define-obsolete-function-alias 'makefile-complete 'completion-at-point "24.1")
1174 1173
1175 1174
1176;; Backslashification. Stolen from cc-mode.el. 1175;; Backslashification. Stolen from cc-mode.el.
diff --git a/lisp/progmodes/meta-mode.el b/lisp/progmodes/meta-mode.el
index 34288e0e4fb..f0fd23f3bc3 100644
--- a/lisp/progmodes/meta-mode.el
+++ b/lisp/progmodes/meta-mode.el
@@ -438,8 +438,6 @@ If the list was changed, sort the list and remove duplicates first."
438 (insert close))))))) 438 (insert close)))))))
439 (nth 1 entry)))) 439 (nth 1 entry))))
440 440
441(define-obsolete-function-alias 'meta-complete-symbol
442 'completion-at-point "24.1")
443 441
444;;; Indentation. 442;;; Indentation.
445 443
@@ -803,7 +801,6 @@ The environment marked is the one that contains point or follows point."
803 st) 801 st)
804 "Syntax table used in Metafont or MetaPost mode.") 802 "Syntax table used in Metafont or MetaPost mode.")
805 803
806(define-obsolete-variable-alias 'meta-mode-map 'meta-common-mode-map "24.1")
807(defvar meta-common-mode-map 804(defvar meta-common-mode-map
808 (let ((map (make-sparse-keymap))) 805 (let ((map (make-sparse-keymap)))
809 ;; Comment Paragraphs: 806 ;; Comment Paragraphs:
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el
index 351ea6e3a99..8d3194e6a47 100644
--- a/lisp/progmodes/pascal.el
+++ b/lisp/progmodes/pascal.el
@@ -239,14 +239,6 @@ will do all lineups."
239 (const :tag "Declarations" declaration) 239 (const :tag "Declarations" declaration)
240 (const :tag "Case statements" case))) 240 (const :tag "Case statements" case)))
241 241
242(defvar pascal-toggle-completions nil
243 "If non-nil, `pascal-complete-word' tries all possible completions.
244Repeated use of \\[pascal-complete-word] then shows all
245completions in turn, instead of displaying a list of all possible
246completions.")
247(make-obsolete-variable 'pascal-toggle-completions
248 'completion-cycle-threshold "24.1")
249
250(defcustom pascal-type-keywords 242(defcustom pascal-type-keywords
251 '("array" "file" "packed" "char" "integer" "real" "string" "record") 243 '("array" "file" "packed" "char" "integer" "real" "string" "record")
252 "Keywords for types used when completing a word in a declaration or parmlist. 244 "Keywords for types used when completing a word in a declaration or parmlist.
@@ -1297,13 +1289,6 @@ indent of the current line in parameterlist."
1297 (when (> e b) 1289 (when (> e b)
1298 (list b e #'pascal-completion)))) 1290 (list b e #'pascal-completion))))
1299 1291
1300(define-obsolete-function-alias 'pascal-complete-word
1301 'completion-at-point "24.1")
1302
1303(define-obsolete-function-alias 'pascal-show-completions
1304 'completion-help-at-point "24.1")
1305
1306
1307(defun pascal-get-default-symbol () 1292(defun pascal-get-default-symbol ()
1308 "Return symbol around current point as a string." 1293 "Return symbol around current point as a string."
1309 (save-excursion 1294 (save-excursion
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el
index 9598209f5e5..5aba95d4c79 100644
--- a/lisp/progmodes/prolog.el
+++ b/lisp/progmodes/prolog.el
@@ -742,14 +742,6 @@ Relevant only when `prolog-imenu-flag' is non-nil."
742 :group 'prolog-other 742 :group 'prolog-other
743 :type 'boolean) 743 :type 'boolean)
744 744
745(defcustom prolog-char-quote-workaround nil
746 "If non-nil, declare 0 as a quote character to handle 0'<char>.
747This is really kludgy, and unneeded (i.e. obsolete) in Emacs>=24."
748 :version "24.1"
749 :group 'prolog-other
750 :type 'boolean)
751(make-obsolete-variable 'prolog-char-quote-workaround nil "24.1")
752
753 745
754;;------------------------------------------------------------------- 746;;-------------------------------------------------------------------
755;; Internal variables 747;; Internal variables
@@ -1303,7 +1295,7 @@ To find out what version of Prolog mode you are running, enter
1303 (t t))) 1295 (t t)))
1304 1296
1305;; This statement was missing in Emacs 24.1, 24.2, 24.3. 1297;; This statement was missing in Emacs 24.1, 24.2, 24.3.
1306(define-obsolete-function-alias 'switch-to-prolog 'run-prolog "24.1") 1298(define-obsolete-function-alias 'switch-to-prolog 'run-prolog "24.1") ; "24.4" ; for grep
1307;;;###autoload 1299;;;###autoload
1308(defun run-prolog (arg) 1300(defun run-prolog (arg)
1309 "Run an inferior Prolog process, input and output via buffer *prolog*. 1301 "Run an inferior Prolog process, input and output via buffer *prolog*.
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index f1191b8faab..1c99937c4b9 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -248,7 +248,6 @@
248(eval-when-compile (require 'subr-x)) ;For `string-empty-p'. 248(eval-when-compile (require 'subr-x)) ;For `string-empty-p'.
249 249
250;; Avoid compiler warnings 250;; Avoid compiler warnings
251(defvar view-return-to-alist)
252(defvar compilation-error-regexp-alist) 251(defvar compilation-error-regexp-alist)
253(defvar outline-heading-end-regexp) 252(defvar outline-heading-end-regexp)
254 253
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el
index 3c8d4f43dbc..2e8e8d23192 100644
--- a/lisp/progmodes/which-func.el
+++ b/lisp/progmodes/which-func.el
@@ -234,9 +234,6 @@ It creates the Imenu index for the buffer, if necessary."
234 (setq which-func-mode nil) 234 (setq which-func-mode nil)
235 (error "Error in which-func-update: %S" info)))))) 235 (error "Error in which-func-update: %S" info))))))
236 236
237;;;###autoload
238(define-obsolete-function-alias 'which-func-mode 'which-function-mode "24.1")
239
240(defvar which-func-update-timer nil) 237(defvar which-func-update-timer nil)
241 238
242(unless (or (assq 'which-func-mode mode-line-misc-info) 239(unless (or (assq 'which-func-mode mode-line-misc-info)
diff --git a/lisp/simple.el b/lisp/simple.el
index 66640916a25..1d251dbf5e6 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1732,8 +1732,6 @@ from Lisp."
1732 words (if (= words 1) "" "s") 1732 words (if (= words 1) "" "s")
1733 chars (if (= chars 1) "" "s")))) 1733 chars (if (= chars 1) "" "s"))))
1734 1734
1735(define-obsolete-function-alias 'count-lines-region 'count-words-region "24.1")
1736
1737(defun what-line () 1735(defun what-line ()
1738 "Print the current buffer line number and narrowed line number of point." 1736 "Print the current buffer line number and narrowed line number of point."
1739 (interactive) 1737 (interactive)
@@ -1951,10 +1949,6 @@ Such arguments are used as in `read-from-minibuffer'.)"
1951 ;; Used for interactive spec `X'. 1949 ;; Used for interactive spec `X'.
1952 (eval (read--expression prompt initial-contents))) 1950 (eval (read--expression prompt initial-contents)))
1953 1951
1954(defvar minibuffer-completing-symbol nil
1955 "Non-nil means completing a Lisp symbol in the minibuffer.")
1956(make-obsolete-variable 'minibuffer-completing-symbol nil "24.1" 'get)
1957
1958(defvar minibuffer-default nil 1952(defvar minibuffer-default nil
1959 "The current default value or list of default values in the minibuffer. 1953 "The current default value or list of default values in the minibuffer.
1960The functions `read-from-minibuffer' and `completing-read' bind 1954The functions `read-from-minibuffer' and `completing-read' bind
@@ -2015,20 +2009,19 @@ display the result of expression evaluation."
2015 2009
2016PROMPT and optional argument INITIAL-CONTENTS do the same as in 2010PROMPT and optional argument INITIAL-CONTENTS do the same as in
2017function `read-from-minibuffer'." 2011function `read-from-minibuffer'."
2018 (let ((minibuffer-completing-symbol t)) 2012 (minibuffer-with-setup-hook
2019 (minibuffer-with-setup-hook 2013 (lambda ()
2020 (lambda () 2014 ;; FIXME: instead of just applying the syntax table, maybe
2021 ;; FIXME: instead of just applying the syntax table, maybe 2015 ;; use a special major mode tailored to reading Lisp
2022 ;; use a special major mode tailored to reading Lisp 2016 ;; expressions from the minibuffer? (`emacs-lisp-mode'
2023 ;; expressions from the minibuffer? (`emacs-lisp-mode' 2017 ;; doesn't preserve the necessary keybindings.)
2024 ;; doesn't preserve the necessary keybindings.) 2018 (set-syntax-table emacs-lisp-mode-syntax-table)
2025 (set-syntax-table emacs-lisp-mode-syntax-table) 2019 (add-hook 'completion-at-point-functions
2026 (add-hook 'completion-at-point-functions 2020 #'elisp-completion-at-point nil t)
2027 #'elisp-completion-at-point nil t) 2021 (run-hooks 'eval-expression-minibuffer-setup-hook))
2028 (run-hooks 'eval-expression-minibuffer-setup-hook)) 2022 (read-from-minibuffer prompt initial-contents
2029 (read-from-minibuffer prompt initial-contents 2023 read-expression-map t
2030 read-expression-map t 2024 'read-expression-history)))
2031 'read-expression-history))))
2032 2025
2033(defun read--expression-try-read () 2026(defun read--expression-try-read ()
2034 "Try to read an Emacs Lisp expression in the minibuffer. 2027 "Try to read an Emacs Lisp expression in the minibuffer.
diff --git a/lisp/speedbar.el b/lisp/speedbar.el
index da85d548637..9184d6c5254 100644
--- a/lisp/speedbar.el
+++ b/lisp/speedbar.el
@@ -703,8 +703,6 @@ If you want to change this while speedbar is active, either use
703(defvar speedbar-update-flag-disable nil 703(defvar speedbar-update-flag-disable nil
704 "Permanently disable changing of the update flag.") 704 "Permanently disable changing of the update flag.")
705 705
706(define-obsolete-variable-alias
707 'speedbar-syntax-table 'speedbar-mode-syntax-table "24.1")
708(defvar speedbar-mode-syntax-table 706(defvar speedbar-mode-syntax-table
709 (let ((st (make-syntax-table))) 707 (let ((st (make-syntax-table)))
710 ;; Turn off paren matching around here. 708 ;; Turn off paren matching around here.
@@ -719,8 +717,6 @@ If you want to change this while speedbar is active, either use
719 st) 717 st)
720 "Syntax-table used on the speedbar.") 718 "Syntax-table used on the speedbar.")
721 719
722
723(define-obsolete-variable-alias 'speedbar-key-map 'speedbar-mode-map "24.1")
724(defvar speedbar-mode-map 720(defvar speedbar-mode-map
725 (let ((map (make-keymap))) 721 (let ((map (make-keymap)))
726 (suppress-keymap map t) 722 (suppress-keymap map t)
diff --git a/lisp/strokes.el b/lisp/strokes.el
index 376cbc0cfee..d7a95393166 100644
--- a/lisp/strokes.el
+++ b/lisp/strokes.el
@@ -1031,8 +1031,6 @@ o Strokes are a bit computer-dependent in that they depend somewhat on
1031 (help-mode) 1031 (help-mode)
1032 (help-print-return-message))) 1032 (help-print-return-message)))
1033 1033
1034(define-obsolete-function-alias 'strokes-report-bug #'report-emacs-bug "24.1")
1035
1036(defun strokes-window-configuration-changed-p () 1034(defun strokes-window-configuration-changed-p ()
1037 "Non-nil if the `strokes-window-configuration' frame properties changed. 1035 "Non-nil if the `strokes-window-configuration' frame properties changed.
1038This is based on the last time `strokes-window-configuration' was updated." 1036This is based on the last time `strokes-window-configuration' was updated."
diff --git a/lisp/subr.el b/lisp/subr.el
index 6bf12fd7577..f8b386e5631 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1856,8 +1856,6 @@ be a list of the form returned by `event-start' and `event-end'."
1856;;;; Obsolescence declarations for variables, and aliases. 1856;;;; Obsolescence declarations for variables, and aliases.
1857 1857
1858(make-obsolete-variable 'redisplay-end-trigger-functions 'jit-lock-register "23.1") 1858(make-obsolete-variable 'redisplay-end-trigger-functions 'jit-lock-register "23.1")
1859(make-obsolete-variable 'deferred-action-list 'post-command-hook "24.1")
1860(make-obsolete-variable 'deferred-action-function 'post-command-hook "24.1")
1861(make-obsolete-variable 'redisplay-dont-pause nil "24.5") 1859(make-obsolete-variable 'redisplay-dont-pause nil "24.5")
1862(make-obsolete 'window-redisplay-end-trigger nil "23.1") 1860(make-obsolete 'window-redisplay-end-trigger nil "23.1")
1863(make-obsolete 'set-window-redisplay-end-trigger nil "23.1") 1861(make-obsolete 'set-window-redisplay-end-trigger nil "23.1")
@@ -4707,9 +4705,6 @@ even if this catches the signal."
4707 ,@(cdr handler))) 4705 ,@(cdr handler)))
4708 handlers))) 4706 handlers)))
4709 4707
4710(define-obsolete-function-alias 'condition-case-no-debug
4711 'condition-case-unless-debug "24.1")
4712
4713(defmacro with-demoted-errors (format &rest body) 4708(defmacro with-demoted-errors (format &rest body)
4714 "Run BODY and demote any errors to simple messages. 4709 "Run BODY and demote any errors to simple messages.
4715FORMAT is a string passed to `message' to format any error message. 4710FORMAT is a string passed to `message' to format any error message.
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el
index 84c5b087b9a..e26191b33b4 100644
--- a/lisp/term/ns-win.el
+++ b/lisp/term/ns-win.el
@@ -97,8 +97,6 @@ The properties returned may include `top', `left', `height', and `width'."
97 97
98;;;; Keyboard mapping. 98;;;; Keyboard mapping.
99 99
100(define-obsolete-variable-alias 'ns-alternatives-map 'x-alternatives-map "24.1")
101
102;; Here are some Nextstep-like bindings for command key sequences. 100;; Here are some Nextstep-like bindings for command key sequences.
103(define-key global-map [?\s-,] 'customize) 101(define-key global-map [?\s-,] 'customize)
104(define-key global-map [?\s-'] 'next-window-any-frame) 102(define-key global-map [?\s-'] 'next-window-any-frame)
@@ -682,10 +680,6 @@ See the documentation of `create-fontset-from-fontset-spec' for the format.")
682 680
683;;;; Pasteboard support. 681;;;; Pasteboard support.
684 682
685(define-obsolete-function-alias 'ns-store-cut-buffer-internal
686 'gui-set-selection "24.1")
687
688
689(defun ns-copy-including-secondary () 683(defun ns-copy-including-secondary ()
690 (interactive) 684 (interactive)
691 (call-interactively 'kill-ring-save) 685 (call-interactively 'kill-ring-save)
diff --git a/lisp/term/w32-win.el b/lisp/term/w32-win.el
index 7eaa6047763..993f1d43208 100644
--- a/lisp/term/w32-win.el
+++ b/lisp/term/w32-win.el
@@ -81,7 +81,6 @@
81 (&optional frame exclude-proportional)) 81 (&optional frame exclude-proportional))
82 82
83(defvar w32-color-map) ;; defined in w32fns.c 83(defvar w32-color-map) ;; defined in w32fns.c
84(make-obsolete 'w32-default-color-map nil "24.1")
85 84
86(declare-function w32-send-sys-command "w32fns.c") 85(declare-function w32-send-sys-command "w32fns.c")
87(declare-function set-message-beep "w32fns.c") 86(declare-function set-message-beep "w32fns.c")
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index 7c88c85ceff..3a0bd65f29c 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -1171,9 +1171,6 @@ as returned by `x-server-vendor'."
1171 1171
1172;;;; Selections 1172;;;; Selections
1173 1173
1174(define-obsolete-function-alias 'x-cut-buffer-or-selection-value
1175 'x-selection-value "24.1")
1176
1177;; Arrange for the kill and yank functions to set and check the clipboard. 1174;; Arrange for the kill and yank functions to set and check the clipboard.
1178 1175
1179(defun x-clipboard-yank () 1176(defun x-clipboard-yank ()
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index 544e0da8276..6763da046ff 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -316,8 +316,6 @@ If parsing fails, try to set this variable to nil."
316 (option (choice :tag "Alternative" :value nil 316 (option (choice :tag "Alternative" :value nil
317 (const nil) integer))))))) 317 (const nil) integer)))))))
318 318
319(define-obsolete-variable-alias 'bibtex-entry-field-alist
320 'bibtex-BibTeX-entry-alist "24.1")
321(defcustom bibtex-BibTeX-entry-alist 319(defcustom bibtex-BibTeX-entry-alist
322 '(("Article" "Article in Journal" 320 '(("Article" "Article in Journal"
323 (("author") 321 (("author")
@@ -3673,14 +3671,6 @@ if that value is non-nil.
3673 (if (not (consp (nth 1 (car entry-alist)))) 3671 (if (not (consp (nth 1 (car entry-alist))))
3674 ;; new format 3672 ;; new format
3675 entry-alist 3673 entry-alist
3676 ;; Convert old format of `bibtex-entry-field-alist'
3677 (unless (get var 'entry-list-format)
3678 (put var 'entry-list-format "pre-24")
3679 (message "Old format of `%s' (pre GNU Emacs 24).
3680Please convert to the new format."
3681 (if (eq (indirect-variable 'bibtex-entry-field-alist) var)
3682 'bibtex-entry-field-alist var))
3683 (sit-for 3))
3684 (let (lst) 3674 (let (lst)
3685 (dolist (entry entry-alist) 3675 (dolist (entry entry-alist)
3686 (let ((fl (nth 1 entry)) req xref opt) 3676 (let ((fl (nth 1 entry)) req xref opt)
@@ -5318,7 +5308,6 @@ entries from minibuffer."
5318 (goto-char (point-max)) 5308 (goto-char (point-max))
5319 (message "Buffer is now parsable. Please save it."))) 5309 (message "Buffer is now parsable. Please save it.")))
5320 5310
5321(define-obsolete-function-alias 'bibtex-complete #'completion-at-point "24.1")
5322(defun bibtex-completion-at-point-function () 5311(defun bibtex-completion-at-point-function ()
5323 (let ((pnt (point)) 5312 (let ((pnt (point))
5324 (case-fold-search t) 5313 (case-fold-search t)
diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el
index aeae389da64..b517cc16634 100644
--- a/lisp/textmodes/reftex-index.el
+++ b/lisp/textmodes/reftex-index.el
@@ -269,8 +269,6 @@ will prompt for other arguments."
269 (and newtag (cdr cell) (not (member newtag (cdr cell))) 269 (and newtag (cdr cell) (not (member newtag (cdr cell)))
270 (push newtag (cdr cell))))) 270 (push newtag (cdr cell)))))
271 271
272(define-obsolete-variable-alias
273 'reftex-index-map 'reftex-index-mode-map "24.1")
274(defvar reftex-index-mode-map 272(defvar reftex-index-mode-map
275 (let ((map (make-sparse-keymap))) 273 (let ((map (make-sparse-keymap)))
276 ;; Index map 274 ;; Index map
@@ -1198,8 +1196,6 @@ This gets refreshed in every phrases command.")
1198 '((reftex-index-phrases-font-lock-keywords) 1196 '((reftex-index-phrases-font-lock-keywords)
1199 nil t nil beginning-of-line) 1197 nil t nil beginning-of-line)
1200 "Font lock defaults for `reftex-index-phrases-mode'.") 1198 "Font lock defaults for `reftex-index-phrases-mode'.")
1201(define-obsolete-variable-alias
1202 'reftex-index-phrases-map 'reftex-index-phrases-mode-map "24.1")
1203(defvar reftex-index-phrases-mode-map 1199(defvar reftex-index-phrases-mode-map
1204 (let ((map (make-sparse-keymap))) 1200 (let ((map (make-sparse-keymap)))
1205 ;; Keybindings and Menu for phrases buffer 1201 ;; Keybindings and Menu for phrases buffer
diff --git a/lisp/textmodes/reftex-sel.el b/lisp/textmodes/reftex-sel.el
index d77411483f7..5942801a8a9 100644
--- a/lisp/textmodes/reftex-sel.el
+++ b/lisp/textmodes/reftex-sel.el
@@ -59,8 +59,6 @@
59 (define-key map [follow-link] 'mouse-face) 59 (define-key map [follow-link] 'mouse-face)
60 map)) 60 map))
61 61
62(define-obsolete-variable-alias
63 'reftex-select-label-map 'reftex-select-label-mode-map "24.1")
64(defvar reftex-select-label-mode-map 62(defvar reftex-select-label-mode-map
65 (let ((map (make-sparse-keymap))) 63 (let ((map (make-sparse-keymap)))
66 (set-keymap-parent map reftex-select-shared-map) 64 (set-keymap-parent map reftex-select-shared-map)
@@ -109,8 +107,6 @@ During a selection process, these are the local bindings.
109 ;; We do not set a local map - reftex-select-item does this. 107 ;; We do not set a local map - reftex-select-item does this.
110 ) 108 )
111 109
112(define-obsolete-variable-alias
113 'reftex-select-bib-map 'reftex-select-bib-mode-map "24.1")
114(defvar reftex-select-bib-mode-map 110(defvar reftex-select-bib-mode-map
115 (let ((map (make-sparse-keymap))) 111 (let ((map (make-sparse-keymap)))
116 (set-keymap-parent map reftex-select-shared-map) 112 (set-keymap-parent map reftex-select-shared-map)
diff --git a/lisp/textmodes/reftex-toc.el b/lisp/textmodes/reftex-toc.el
index 89c734a0d76..5599eaee024 100644
--- a/lisp/textmodes/reftex-toc.el
+++ b/lisp/textmodes/reftex-toc.el
@@ -28,7 +28,6 @@
28(require 'reftex) 28(require 'reftex)
29;;; 29;;;
30 30
31(define-obsolete-variable-alias 'reftex-toc-map 'reftex-toc-mode-map "24.1")
32(defvar reftex-toc-mode-map 31(defvar reftex-toc-mode-map
33 (let ((map (make-sparse-keymap))) 32 (let ((map (make-sparse-keymap)))
34 33
diff --git a/lisp/textmodes/rst.el b/lisp/textmodes/rst.el
index 964baed03c7..f6bbda02e6a 100644
--- a/lisp/textmodes/rst.el
+++ b/lisp/textmodes/rst.el
@@ -3584,125 +3584,46 @@ Region is from BEG to END. With WITH-EMPTY prefix empty lines too."
3584 :version "24.1" 3584 :version "24.1"
3585 :group 'rst-faces) 3585 :group 'rst-faces)
3586 3586
3587(defcustom rst-block-face 'rst-block
3588 "All syntax marking up a special block."
3589 :version "24.1"
3590 :group 'rst-faces
3591 :type '(face))
3592(make-obsolete-variable 'rst-block-face
3593 "customize the face `rst-block' instead."
3594 "24.1")
3595
3596(defface rst-external '((t :inherit font-lock-type-face)) 3587(defface rst-external '((t :inherit font-lock-type-face))
3597 "Face used for field names and interpreted text." 3588 "Face used for field names and interpreted text."
3598 :version "24.1" 3589 :version "24.1"
3599 :group 'rst-faces) 3590 :group 'rst-faces)
3600 3591
3601(defcustom rst-external-face 'rst-external
3602 "Field names and interpreted text."
3603 :version "24.1"
3604 :group 'rst-faces
3605 :type '(face))
3606(make-obsolete-variable 'rst-external-face
3607 "customize the face `rst-external' instead."
3608 "24.1")
3609
3610(defface rst-definition '((t :inherit font-lock-function-name-face)) 3592(defface rst-definition '((t :inherit font-lock-function-name-face))
3611 "Face used for all other defining constructs." 3593 "Face used for all other defining constructs."
3612 :version "24.1" 3594 :version "24.1"
3613 :group 'rst-faces) 3595 :group 'rst-faces)
3614 3596
3615(defcustom rst-definition-face 'rst-definition
3616 "All other defining constructs."
3617 :version "24.1"
3618 :group 'rst-faces
3619 :type '(face))
3620(make-obsolete-variable 'rst-definition-face
3621 "customize the face `rst-definition' instead."
3622 "24.1")
3623
3624(defface rst-directive '((t :inherit font-lock-builtin-face)) 3597(defface rst-directive '((t :inherit font-lock-builtin-face))
3625 "Face used for directives and roles." 3598 "Face used for directives and roles."
3626 :version "24.1" 3599 :version "24.1"
3627 :group 'rst-faces) 3600 :group 'rst-faces)
3628 3601
3629(defcustom rst-directive-face 'rst-directive
3630 "Directives and roles."
3631 :group 'rst-faces
3632 :type '(face))
3633(make-obsolete-variable 'rst-directive-face
3634 "customize the face `rst-directive' instead."
3635 "24.1")
3636
3637(defface rst-comment '((t :inherit font-lock-comment-face)) 3602(defface rst-comment '((t :inherit font-lock-comment-face))
3638 "Face used for comments." 3603 "Face used for comments."
3639 :version "24.1" 3604 :version "24.1"
3640 :group 'rst-faces) 3605 :group 'rst-faces)
3641 3606
3642(defcustom rst-comment-face 'rst-comment
3643 "Comments."
3644 :version "24.1"
3645 :group 'rst-faces
3646 :type '(face))
3647(make-obsolete-variable 'rst-comment-face
3648 "customize the face `rst-comment' instead."
3649 "24.1")
3650
3651(defface rst-emphasis1 '((t :inherit italic)) 3607(defface rst-emphasis1 '((t :inherit italic))
3652 "Face used for simple emphasis." 3608 "Face used for simple emphasis."
3653 :version "24.1" 3609 :version "24.1"
3654 :group 'rst-faces) 3610 :group 'rst-faces)
3655 3611
3656(defcustom rst-emphasis1-face 'rst-emphasis1
3657 "Simple emphasis."
3658 :version "24.1"
3659 :group 'rst-faces
3660 :type '(face))
3661(make-obsolete-variable 'rst-emphasis1-face
3662 "customize the face `rst-emphasis1' instead."
3663 "24.1")
3664
3665(defface rst-emphasis2 '((t :inherit bold)) 3612(defface rst-emphasis2 '((t :inherit bold))
3666 "Face used for double emphasis." 3613 "Face used for double emphasis."
3667 :version "24.1" 3614 :version "24.1"
3668 :group 'rst-faces) 3615 :group 'rst-faces)
3669 3616
3670(defcustom rst-emphasis2-face 'rst-emphasis2
3671 "Double emphasis."
3672 :group 'rst-faces
3673 :type '(face))
3674(make-obsolete-variable 'rst-emphasis2-face
3675 "customize the face `rst-emphasis2' instead."
3676 "24.1")
3677
3678(defface rst-literal '((t :inherit font-lock-string-face)) 3617(defface rst-literal '((t :inherit font-lock-string-face))
3679 "Face used for literal text." 3618 "Face used for literal text."
3680 :version "24.1" 3619 :version "24.1"
3681 :group 'rst-faces) 3620 :group 'rst-faces)
3682 3621
3683(defcustom rst-literal-face 'rst-literal
3684 "Literal text."
3685 :version "24.1"
3686 :group 'rst-faces
3687 :type '(face))
3688(make-obsolete-variable 'rst-literal-face
3689 "customize the face `rst-literal' instead."
3690 "24.1")
3691
3692(defface rst-reference '((t :inherit font-lock-variable-name-face)) 3622(defface rst-reference '((t :inherit font-lock-variable-name-face))
3693 "Face used for references to a definition." 3623 "Face used for references to a definition."
3694 :version "24.1" 3624 :version "24.1"
3695 :group 'rst-faces) 3625 :group 'rst-faces)
3696 3626
3697(defcustom rst-reference-face 'rst-reference
3698 "References to a definition."
3699 :version "24.1"
3700 :group 'rst-faces
3701 :type '(face))
3702(make-obsolete-variable 'rst-reference-face
3703 "customize the face `rst-reference' instead."
3704 "24.1")
3705
3706(defface rst-transition '((t :inherit font-lock-keyword-face)) 3627(defface rst-transition '((t :inherit font-lock-keyword-face))
3707 "Face used for a transition." 3628 "Face used for a transition."
3708 :package-version '(rst . "1.3.0") 3629 :package-version '(rst . "1.3.0")
@@ -3794,23 +3715,23 @@ of your own."
3794 ;; `Bullet Lists`_ 3715 ;; `Bullet Lists`_
3795 ;; FIXME: A bullet directly after a field name is not recognized. 3716 ;; FIXME: A bullet directly after a field name is not recognized.
3796 (,(rst-re 'lin-beg '(:grp bul-sta)) 3717 (,(rst-re 'lin-beg '(:grp bul-sta))
3797 1 rst-block-face) 3718 1 'rst-block)
3798 ;; `Enumerated Lists`_ 3719 ;; `Enumerated Lists`_
3799 (,(rst-re 'lin-beg '(:grp enmany-sta)) 3720 (,(rst-re 'lin-beg '(:grp enmany-sta))
3800 1 rst-block-face) 3721 1 'rst-block)
3801 ;; `Definition Lists`_ 3722 ;; `Definition Lists`_
3802 ;; FIXME: missing. 3723 ;; FIXME: missing.
3803 ;; `Field Lists`_ 3724 ;; `Field Lists`_
3804 (,(rst-re 'lin-beg '(:grp fld-tag) 'bli-sfx) 3725 (,(rst-re 'lin-beg '(:grp fld-tag) 'bli-sfx)
3805 1 rst-external-face) 3726 1 'rst-external)
3806 ;; `Option Lists`_ 3727 ;; `Option Lists`_
3807 (,(rst-re 'lin-beg '(:grp opt-tag (:shy optsep-tag opt-tag) "*") 3728 (,(rst-re 'lin-beg '(:grp opt-tag (:shy optsep-tag opt-tag) "*")
3808 '(:alt "$" (:seq hws-prt "\\{2\\}"))) 3729 '(:alt "$" (:seq hws-prt "\\{2\\}")))
3809 1 rst-block-face) 3730 1 'rst-block)
3810 ;; `Line Blocks`_ 3731 ;; `Line Blocks`_
3811 ;; Only for lines containing no more bar - to distinguish from tables. 3732 ;; Only for lines containing no more bar - to distinguish from tables.
3812 (,(rst-re 'lin-beg '(:grp "|" bli-sfx) "[^|\n]*$") 3733 (,(rst-re 'lin-beg '(:grp "|" bli-sfx) "[^|\n]*$")
3813 1 rst-block-face) 3734 1 'rst-block)
3814 3735
3815 ;; `Tables`_ 3736 ;; `Tables`_
3816 ;; FIXME: missing 3737 ;; FIXME: missing
@@ -3818,22 +3739,22 @@ of your own."
3818 ;; All the `Explicit Markup Blocks`_ 3739 ;; All the `Explicit Markup Blocks`_
3819 ;; `Footnotes`_ / `Citations`_ 3740 ;; `Footnotes`_ / `Citations`_
3820 (,(rst-re 'lin-beg 'fnc-sta-2) 3741 (,(rst-re 'lin-beg 'fnc-sta-2)
3821 (1 rst-definition-face) 3742 (1 'rst-definition)
3822 (2 rst-definition-face)) 3743 (2 'rst-definition))
3823 ;; `Directives`_ / `Substitution Definitions`_ 3744 ;; `Directives`_ / `Substitution Definitions`_
3824 (,(rst-re 'lin-beg 'dir-sta-3) 3745 (,(rst-re 'lin-beg 'dir-sta-3)
3825 (1 rst-directive-face) 3746 (1 'rst-directive)
3826 (2 rst-definition-face) 3747 (2 'rst-definition)
3827 (3 rst-directive-face)) 3748 (3 'rst-directive))
3828 ;; `Hyperlink Targets`_ 3749 ;; `Hyperlink Targets`_
3829 (,(rst-re 'lin-beg 3750 (,(rst-re 'lin-beg
3830 '(:grp exm-sta "_" (:alt 3751 '(:grp exm-sta "_" (:alt
3831 (:seq "`" ilcbkqdef-tag "`") 3752 (:seq "`" ilcbkqdef-tag "`")
3832 (:seq (:alt "[^:\\\n]" "\\\\.") "+")) ":") 3753 (:seq (:alt "[^:\\\n]" "\\\\.") "+")) ":")
3833 'bli-sfx) 3754 'bli-sfx)
3834 1 rst-definition-face) 3755 1 'rst-definition)
3835 (,(rst-re 'lin-beg '(:grp "__") 'bli-sfx) 3756 (,(rst-re 'lin-beg '(:grp "__") 'bli-sfx)
3836 1 rst-definition-face) 3757 1 'rst-definition)
3837 3758
3838 ;; All `Inline Markup`_ 3759 ;; All `Inline Markup`_
3839 ;; Most of them may be multiline though this is uninteresting. 3760 ;; Most of them may be multiline though this is uninteresting.
@@ -3841,16 +3762,16 @@ of your own."
3841 ;; FIXME: Condition 5 preventing fontification of e.g. "*" not implemented 3762 ;; FIXME: Condition 5 preventing fontification of e.g. "*" not implemented
3842 ;; `Strong Emphasis`_. 3763 ;; `Strong Emphasis`_.
3843 (,(rst-re 'ilm-pfx '(:grp "\\*\\*" ilcast-tag "\\*\\*") 'ilm-sfx) 3764 (,(rst-re 'ilm-pfx '(:grp "\\*\\*" ilcast-tag "\\*\\*") 'ilm-sfx)
3844 1 rst-emphasis2-face) 3765 1 'rst-emphasis2)
3845 ;; `Emphasis`_ 3766 ;; `Emphasis`_
3846 (,(rst-re 'ilm-pfx '(:grp "\\*" ilcast-tag "\\*") 'ilm-sfx) 3767 (,(rst-re 'ilm-pfx '(:grp "\\*" ilcast-tag "\\*") 'ilm-sfx)
3847 1 rst-emphasis1-face) 3768 1 'rst-emphasis1)
3848 ;; `Inline Literals`_ 3769 ;; `Inline Literals`_
3849 (,(rst-re 'ilm-pfx '(:grp "``" ilcbkq-tag "``") 'ilm-sfx) 3770 (,(rst-re 'ilm-pfx '(:grp "``" ilcbkq-tag "``") 'ilm-sfx)
3850 1 rst-literal-face) 3771 1 'rst-literal)
3851 ;; `Inline Internal Targets`_ 3772 ;; `Inline Internal Targets`_
3852 (,(rst-re 'ilm-pfx '(:grp "_`" ilcbkq-tag "`") 'ilm-sfx) 3773 (,(rst-re 'ilm-pfx '(:grp "_`" ilcbkq-tag "`") 'ilm-sfx)
3853 1 rst-definition-face) 3774 1 'rst-definition)
3854 ;; `Hyperlink References`_ 3775 ;; `Hyperlink References`_
3855 ;; FIXME: `Embedded URIs and Aliases`_ not considered. 3776 ;; FIXME: `Embedded URIs and Aliases`_ not considered.
3856 ;; FIXME: Directly adjacent marked up words are not fontified correctly 3777 ;; FIXME: Directly adjacent marked up words are not fontified correctly
@@ -3858,28 +3779,28 @@ of your own."
3858 (,(rst-re 'ilm-pfx '(:grp (:alt (:seq "`" ilcbkq-tag "`") 3779 (,(rst-re 'ilm-pfx '(:grp (:alt (:seq "`" ilcbkq-tag "`")
3859 (:seq "\\sw" (:alt "\\sw" "-") "+\\sw")) 3780 (:seq "\\sw" (:alt "\\sw" "-") "+\\sw"))
3860 "__?") 'ilm-sfx) 3781 "__?") 'ilm-sfx)
3861 1 rst-reference-face) 3782 1 'rst-reference)
3862 ;; `Interpreted Text`_ 3783 ;; `Interpreted Text`_
3863 (,(rst-re 'ilm-pfx '(:grp (:shy ":" sym-tag ":") "?") 3784 (,(rst-re 'ilm-pfx '(:grp (:shy ":" sym-tag ":") "?")
3864 '(:grp "`" ilcbkq-tag "`") 3785 '(:grp "`" ilcbkq-tag "`")
3865 '(:grp (:shy ":" sym-tag ":") "?") 'ilm-sfx) 3786 '(:grp (:shy ":" sym-tag ":") "?") 'ilm-sfx)
3866 (1 rst-directive-face) 3787 (1 'rst-directive)
3867 (2 rst-external-face) 3788 (2 'rst-external)
3868 (3 rst-directive-face)) 3789 (3 'rst-directive))
3869 ;; `Footnote References`_ / `Citation References`_ 3790 ;; `Footnote References`_ / `Citation References`_
3870 (,(rst-re 'ilm-pfx '(:grp fnc-tag "_") 'ilm-sfx) 3791 (,(rst-re 'ilm-pfx '(:grp fnc-tag "_") 'ilm-sfx)
3871 1 rst-reference-face) 3792 1 'rst-reference)
3872 ;; `Substitution References`_ 3793 ;; `Substitution References`_
3873 ;; FIXME: References substitutions like |this|_ or |this|__ are not 3794 ;; FIXME: References substitutions like |this|_ or |this|__ are not
3874 ;; fontified correctly. 3795 ;; fontified correctly.
3875 (,(rst-re 'ilm-pfx '(:grp sub-tag) 'ilm-sfx) 3796 (,(rst-re 'ilm-pfx '(:grp sub-tag) 'ilm-sfx)
3876 1 rst-reference-face) 3797 1 'rst-reference)
3877 ;; `Standalone Hyperlinks`_ 3798 ;; `Standalone Hyperlinks`_
3878 ;; FIXME: This takes it easy by using a whitespace as delimiter. 3799 ;; FIXME: This takes it easy by using a whitespace as delimiter.
3879 (,(rst-re 'ilm-pfx '(:grp uri-tag ":\\S +") 'ilm-sfx) 3800 (,(rst-re 'ilm-pfx '(:grp uri-tag ":\\S +") 'ilm-sfx)
3880 1 rst-definition-face) 3801 1 'rst-definition)
3881 (,(rst-re 'ilm-pfx '(:grp sym-tag "@" sym-tag ) 'ilm-sfx) 3802 (,(rst-re 'ilm-pfx '(:grp sym-tag "@" sym-tag ) 'ilm-sfx)
3882 1 rst-definition-face) 3803 1 'rst-definition)
3883 3804
3884 ;; Do all block fontification as late as possible so 'append works. 3805 ;; Do all block fontification as late as possible so 'append works.
3885 3806
@@ -3906,18 +3827,18 @@ of your own."
3906 ;; `Comments`_ 3827 ;; `Comments`_
3907 ;; This is multiline. 3828 ;; This is multiline.
3908 (,(rst-re 'lin-beg 'cmt-sta-1) 3829 (,(rst-re 'lin-beg 'cmt-sta-1)
3909 (1 rst-comment-face) 3830 (1 'rst-comment)
3910 (rst-font-lock-find-unindented-line-match 3831 (rst-font-lock-find-unindented-line-match
3911 (rst-font-lock-find-unindented-line-limit (match-end 1)) 3832 (rst-font-lock-find-unindented-line-limit (match-end 1))
3912 nil 3833 nil
3913 (0 rst-comment-face append))) 3834 (0 'rst-comment append)))
3914 (,(rst-re 'lin-beg '(:grp exm-tag) '(:grp hws-tag) "$") 3835 (,(rst-re 'lin-beg '(:grp exm-tag) '(:grp hws-tag) "$")
3915 (1 rst-comment-face) 3836 (1'rst-comment)
3916 (2 rst-comment-face) 3837 (2'rst-comment)
3917 (rst-font-lock-find-unindented-line-match 3838 (rst-font-lock-find-unindented-line-match
3918 (rst-font-lock-find-unindented-line-limit 'next) 3839 (rst-font-lock-find-unindented-line-limit 'next)
3919 nil 3840 nil
3920 (0 rst-comment-face append))) 3841 (0 'rst-comment append)))
3921 3842
3922 ;; FIXME: This is not rendered as comment:: 3843 ;; FIXME: This is not rendered as comment::
3923 ;; .. .. list-table:: 3844 ;; .. .. list-table::
@@ -3941,11 +3862,11 @@ of your own."
3941 ;; `Indented Literal Blocks`_ 3862 ;; `Indented Literal Blocks`_
3942 ;; This is multiline. 3863 ;; This is multiline.
3943 (,(rst-re 'lin-beg 'lit-sta-2) 3864 (,(rst-re 'lin-beg 'lit-sta-2)
3944 (2 rst-block-face) 3865 (2 'rst-block)
3945 (rst-font-lock-find-unindented-line-match 3866 (rst-font-lock-find-unindented-line-match
3946 (rst-font-lock-find-unindented-line-limit t) 3867 (rst-font-lock-find-unindented-line-limit t)
3947 nil 3868 nil
3948 (0 rst-literal-face append))) 3869 (0 'rst-literal append)))
3949 3870
3950 ;; FIXME: `Quoted Literal Blocks`_ missing. 3871 ;; FIXME: `Quoted Literal Blocks`_ missing.
3951 ;; This is multiline. 3872 ;; This is multiline.
@@ -3972,8 +3893,8 @@ of your own."
3972 ;; 3893 ;;
3973 ;; Indentation is not required for doctest blocks. 3894 ;; Indentation is not required for doctest blocks.
3974 (,(rst-re 'lin-beg '(:grp (:alt ">>>" ell-tag)) '(:grp ".+")) 3895 (,(rst-re 'lin-beg '(:grp (:alt ">>>" ell-tag)) '(:grp ".+"))
3975 (1 rst-block-face) 3896 (1 'rst-block)
3976 (2 rst-literal-face))) 3897 (2 'rst-literal)))
3977 "Keywords to highlight in rst mode.") 3898 "Keywords to highlight in rst mode.")
3978 3899
3979(defvar font-lock-beg) 3900(defvar font-lock-beg)
diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el
index 46e40f29c02..80508570f32 100644
--- a/lisp/vc/vc-hooks.el
+++ b/lisp/vc/vc-hooks.el
@@ -556,15 +556,6 @@ this function."
556 templates)))) 556 templates))))
557 557
558 558
559;; toggle-read-only is obsolete since 24.3, but since vc-t-r-o was made
560;; obsolete earlier, it is ok for the latter to be an alias to the former,
561;; since the latter will be removed first. We can't just make it
562;; an alias for read-only-mode, since that is not 100% the same.
563(defalias 'vc-toggle-read-only 'toggle-read-only)
564(make-obsolete 'vc-toggle-read-only
565 "use `read-only-mode' instead (or `toggle-read-only' in older versions of Emacs)."
566 "24.1")
567
568(defun vc-default-make-version-backups-p (_backend _file) 559(defun vc-default-make-version-backups-p (_backend _file)
569 "Return non-nil if unmodified versions should be backed up locally. 560 "Return non-nil if unmodified versions should be backed up locally.
570The default is to switch off this feature." 561The default is to switch off this feature."
diff --git a/lisp/view.el b/lisp/view.el
index 17bc46d4c46..287112f2d44 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -112,18 +112,6 @@ If nil that means use half the window size.")
112 112
113(defvar-local view-last-regexp nil) ; Global is better??? 113(defvar-local view-last-regexp nil) ; Global is better???
114 114
115(defvar-local view-return-to-alist nil
116 "What to do with used windows and where to go when finished viewing buffer.
117This is local in each buffer being viewed.
118It is added to by `view-mode-enter' when starting to view a buffer and
119subtracted from by `view-mode-exit' when finished viewing the buffer.
120
121See RETURN-TO-ALIST argument of function `view-mode-exit' for the format of
122`view-return-to-alist'.")
123(make-obsolete-variable
124 'view-return-to-alist "this variable is no longer used." "24.1")
125(put 'view-return-to-alist 'permanent-local t)
126
127(defvar-local view-exit-action nil 115(defvar-local view-exit-action nil
128 "If non-nil, a function called when finished viewing. 116 "If non-nil, a function called when finished viewing.
129The function should take one argument (a buffer). 117The function should take one argument (a buffer).
@@ -477,40 +465,6 @@ Entry to view-mode runs the normal hook `view-mode-hook'."
477 (setq buffer-read-only view-old-buffer-read-only))) 465 (setq buffer-read-only view-old-buffer-read-only)))
478 466
479;;;###autoload 467;;;###autoload
480(defun view-return-to-alist-update (buffer &optional item)
481 "Update `view-return-to-alist' of buffer BUFFER.
482Remove from `view-return-to-alist' all entries referencing dead
483windows. Optional argument ITEM non-nil means add ITEM to
484`view-return-to-alist' after purging. For a description of items
485that can be added see the RETURN-TO-ALIST argument of the
486function `view-mode-exit'. If `view-return-to-alist' contains an
487entry for the selected window, purge that entry from
488`view-return-to-alist' before adding ITEM."
489 (declare (obsolete "this function has no effect." "24.1"))
490 (with-current-buffer buffer
491 (when view-return-to-alist
492 (let* ((list view-return-to-alist)
493 entry entry-window last)
494 (while list
495 (setq entry (car list))
496 (setq entry-window (car entry))
497 (if (and (windowp entry-window)
498 (or (and item (eq entry-window (selected-window)))
499 (not (window-live-p entry-window))))
500 ;; Remove that entry.
501 (if last
502 (setcdr last (cdr list))
503 (setq view-return-to-alist
504 (cdr view-return-to-alist)))
505 ;; Leave entry alone.
506 (setq last entry))
507 (setq list (cdr list)))))
508 ;; Add ITEM.
509 (when item
510 (setq view-return-to-alist
511 (cons item view-return-to-alist)))))
512
513;;;###autoload
514(defun view-mode-enter (&optional quit-restore exit-action) 468(defun view-mode-enter (&optional quit-restore exit-action)
515 "Enter View mode and set up exit from view mode depending on optional arguments. 469 "Enter View mode and set up exit from view mode depending on optional arguments.
516Optional argument QUIT-RESTORE if non-nil must specify a valid 470Optional argument QUIT-RESTORE if non-nil must specify a valid
diff --git a/src/keyboard.c b/src/keyboard.c
index 84a7a0a38a5..a520e533979 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1305,9 +1305,6 @@ command_loop_1 (void)
1305 /* If there are warnings waiting, process them. */ 1305 /* If there are warnings waiting, process them. */
1306 if (!NILP (Vdelayed_warnings_list)) 1306 if (!NILP (Vdelayed_warnings_list))
1307 safe_run_hooks (Qdelayed_warnings_hook); 1307 safe_run_hooks (Qdelayed_warnings_hook);
1308
1309 if (!NILP (Vdeferred_action_list))
1310 safe_run_hooks (Qdeferred_action_function);
1311 } 1308 }
1312 1309
1313 /* Do this after running Vpost_command_hook, for consistency. */ 1310 /* Do this after running Vpost_command_hook, for consistency. */
@@ -1537,8 +1534,6 @@ command_loop_1 (void)
1537 if (!NILP (Vdelayed_warnings_list)) 1534 if (!NILP (Vdelayed_warnings_list))
1538 safe_run_hooks (Qdelayed_warnings_hook); 1535 safe_run_hooks (Qdelayed_warnings_hook);
1539 1536
1540 safe_run_hooks (Qdeferred_action_function);
1541
1542 kset_last_command (current_kboard, Vthis_command); 1537 kset_last_command (current_kboard, Vthis_command);
1543 kset_real_last_command (current_kboard, Vreal_this_command); 1538 kset_real_last_command (current_kboard, Vreal_this_command);
1544 if (!CONSP (last_command_event)) 1539 if (!CONSP (last_command_event))
@@ -12089,7 +12084,6 @@ syms_of_keyboard (void)
12089 DEFSYM (Qundo_auto__undoably_changed_buffers, 12084 DEFSYM (Qundo_auto__undoably_changed_buffers,
12090 "undo-auto--undoably-changed-buffers"); 12085 "undo-auto--undoably-changed-buffers");
12091 12086
12092 DEFSYM (Qdeferred_action_function, "deferred-action-function");
12093 DEFSYM (Qdelayed_warnings_hook, "delayed-warnings-hook"); 12087 DEFSYM (Qdelayed_warnings_hook, "delayed-warnings-hook");
12094 DEFSYM (Qfunction_key, "function-key"); 12088 DEFSYM (Qfunction_key, "function-key");
12095 12089
@@ -12807,17 +12801,6 @@ This keymap works like `input-decode-map', but comes after `function-key-map'.
12807Another difference is that it is global rather than terminal-local. */); 12801Another difference is that it is global rather than terminal-local. */);
12808 Vkey_translation_map = Fmake_sparse_keymap (Qnil); 12802 Vkey_translation_map = Fmake_sparse_keymap (Qnil);
12809 12803
12810 DEFVAR_LISP ("deferred-action-list", Vdeferred_action_list,
12811 doc: /* List of deferred actions to be performed at a later time.
12812The precise format isn't relevant here; we just check whether it is nil. */);
12813 Vdeferred_action_list = Qnil;
12814
12815 DEFVAR_LISP ("deferred-action-function", Vdeferred_action_function,
12816 doc: /* Function to call to handle deferred actions, after each command.
12817This function is called with no arguments after each command
12818whenever `deferred-action-list' is non-nil. */);
12819 Vdeferred_action_function = Qnil;
12820
12821 DEFVAR_LISP ("delayed-warnings-list", Vdelayed_warnings_list, 12804 DEFVAR_LISP ("delayed-warnings-list", Vdelayed_warnings_list,
12822 doc: /* List of warnings to be displayed after this command. 12805 doc: /* List of warnings to be displayed after this command.
12823Each element must be a list (TYPE MESSAGE [LEVEL [BUFFER-NAME]]), 12806Each element must be a list (TYPE MESSAGE [LEVEL [BUFFER-NAME]]),
@@ -13072,7 +13055,6 @@ syms_of_keyboard_for_pdumper (void)
13072 PDUMPER_RESET (num_input_keys, 0); 13055 PDUMPER_RESET (num_input_keys, 0);
13073 PDUMPER_RESET (num_nonmacro_input_events, 0); 13056 PDUMPER_RESET (num_nonmacro_input_events, 0);
13074 PDUMPER_RESET_LV (Vlast_event_frame, Qnil); 13057 PDUMPER_RESET_LV (Vlast_event_frame, Qnil);
13075 PDUMPER_RESET_LV (Vdeferred_action_list, Qnil);
13076 PDUMPER_RESET_LV (Vdelayed_warnings_list, Qnil); 13058 PDUMPER_RESET_LV (Vdelayed_warnings_list, Qnil);
13077 13059
13078 /* Create the initial keyboard. Qt means 'unset'. */ 13060 /* Create the initial keyboard. Qt means 'unset'. */
diff --git a/src/w32fns.c b/src/w32fns.c
index 468073c9170..51540e1880c 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -797,13 +797,6 @@ w32_default_color_map (void)
797 return (cmap); 797 return (cmap);
798} 798}
799 799
800DEFUN ("w32-default-color-map", Fw32_default_color_map, Sw32_default_color_map,
801 0, 0, 0, doc: /* Return the default color map. */)
802 (void)
803{
804 return w32_default_color_map ();
805}
806
807static Lisp_Object 800static Lisp_Object
808w32_color_map_lookup (const char *colorname) 801w32_color_map_lookup (const char *colorname)
809{ 802{
@@ -10879,7 +10872,6 @@ keys when IME input is received. */);
10879 /* W32 specific functions */ 10872 /* W32 specific functions */
10880 10873
10881 defsubr (&Sw32_define_rgb_color); 10874 defsubr (&Sw32_define_rgb_color);
10882 defsubr (&Sw32_default_color_map);
10883 defsubr (&Sw32_display_monitor_attributes_list); 10875 defsubr (&Sw32_display_monitor_attributes_list);
10884 defsubr (&Sw32_send_sys_command); 10876 defsubr (&Sw32_send_sys_command);
10885 defsubr (&Sw32_shell_execute); 10877 defsubr (&Sw32_shell_execute);