]> git.eshelyaron.com Git - emacs.git/commitdiff
Delete aliases obsolete since 21.1 and 22.1
authorStefan Kangas <stefan@marxist.se>
Sun, 31 Jul 2022 08:56:35 +0000 (10:56 +0200)
committerStefan Kangas <stefan@marxist.se>
Sun, 31 Jul 2022 09:01:57 +0000 (11:01 +0200)
* lisp/ls-lisp.el (ls-lisp-dired-ignore-case):
* lisp/files.el (find-file-not-found-hooks): Delete variable aliases,
obsolete since 21.1 and 22.1 respectively.

etc/NEWS
lisp/files.el
lisp/ls-lisp.el

index 489948214df41e79a7f204f9ce38377b3182079c..a6b95cd88f6df6ae38b4967771ff56bf7f515695 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2456,6 +2456,10 @@ but switching to `ash` is generally much preferable.
 'unify-8859-on-decoding-mode', 'unify-8859-on-encoding-mode',
 'vc-arch-command', 'window-redisplay-end-trigger'.
 
+---
+** Some functions and variables obsolete since Emacs 21 or 22 have been removed:
+'find-file-not-found-hooks', 'ls-lisp-dired-ignore-case'.
+
 +++
 ** New generic function 'function-documentation'.
 Can dynamically generate a raw docstring depending on the type of
index bea0c13d25f1e5b4e8c40de250d049464534fc3b..b6d0a0013f412c2102ef6776177ea25beb64e663 100644 (file)
@@ -577,8 +577,6 @@ location of point in the current buffer."
 
 ;;;It is not useful to make this a local variable.
 ;;;(put 'find-file-not-found-functions 'permanent-local t)
-(define-obsolete-variable-alias 'find-file-not-found-hooks
-    'find-file-not-found-functions "22.1")
 (defvar find-file-not-found-functions nil
   "List of functions to be called for `find-file' on nonexistent file.
 These functions are called as soon as the error is detected.
index 6d1f449568ad42072f7a56bed8d554e4c991051b..3e50b0dcc87162ad5ce11f33171ba0a15b7b874d 100644 (file)
@@ -100,14 +100,6 @@ update the dependent variables."
           (ls-lisp-set-options)))
   :group 'ls-lisp)
 
-;; Only made an obsolete alias in 23.3.  Before that, the initial
-;; value was set according to:
-;;  (or (memq ls-lisp-emulation '(MS-Windows MacOS))
-;;      (and (boundp 'ls-lisp-dired-ignore-case) ls-lisp-dired-ignore-case))
-;; Which isn't the right thing to do.
-(define-obsolete-variable-alias 'ls-lisp-dired-ignore-case
-  'ls-lisp-ignore-case "21.1")
-
 (defcustom ls-lisp-ignore-case
   (memq ls-lisp-emulation '(MS-Windows MacOS))
   "Non-nil causes ls-lisp alphabetic sorting to ignore case."