]> git.eshelyaron.com Git - emacs.git/commit
Fix problem with previous dired.el change
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 16 Sep 2020 11:34:58 +0000 (13:34 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 16 Sep 2020 11:34:58 +0000 (13:34 +0200)
commit96f1fedf4dd662dbd5bba7eebc0b9c9e926fbce6
tree873fe8a45350dede85c40bd78ebaaf2a9ef93404
parentb43287e41307ea2cb331b8915c8b1088ba9e5e9f
Fix problem with previous dired.el change

* lisp/dired.el (dired-get-filename): dired-current-directory
can't be called before the dired buffer has been set up.
(add-hook 'dired-mode-hook 'dired-sort-toggle) calls
dired-get-filename in a way that exposes this problem, so avoid
it.
lisp/dired.el