]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove 'dired-load-hook'
authorEshel Yaron <me@eshelyaron.com>
Tue, 4 Jun 2024 20:23:47 +0000 (22:23 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 4 Jun 2024 20:23:47 +0000 (22:23 +0200)
lisp/dired.el

index c51e5e42c29a87b52109959276b153dcbe50c1a1..f5dd96c3ef96fd9550a718e5ce2664dddc444789 100644 (file)
@@ -321,14 +321,6 @@ This is similar to the \"-L\" option for the \"cp\" shell command."
 (define-obsolete-variable-alias 'dired-free-space-args
   'directory-free-space-args "27.1")
 
-(defcustom dired-load-hook nil
-  "Run after loading Dired.
-You can customize key bindings or load extensions with this."
-  :group 'dired
-  :type 'hook)
-(make-obsolete-variable 'dired-load-hook
-                        "use `with-eval-after-load' instead." "28.1")
-
 (defcustom dired-mode-hook nil
   "Run at the very end of `dired-mode'."
   :group 'dired
@@ -5317,7 +5309,4 @@ completes."
   'directory-listing-before-filename-regexp "30.1")
 
 (provide 'dired)
-
-(run-hooks 'dired-load-hook)           ; for your customizations
-
 ;;; dired.el ends here