]> git.eshelyaron.com Git - emacs.git/commit
Add option `dired-filename-display-length'
authorLiu Hui <liuhui1610@gmail.com>
Mon, 20 Nov 2023 04:09:15 +0000 (12:09 +0800)
committerEli Zaretskii <eliz@gnu.org>
Sat, 25 Nov 2023 10:50:35 +0000 (12:50 +0200)
commit9656fe03585077370b18c7ece2407e55df24a5fa
tree7ab0875a5b4488849a814c24290a6634e027fbd9
parent38e2291cce0e396dcb6f379cf74471ab9504522b
Add option `dired-filename-display-length'

* lisp/dired.el (dired-filename-display-length): New option.
(dired-insert-set-properties): Set invisible property for long
filenames.
(dired--get-ellipsis-length, dired--get-filename-display-length)
(dired-filename-update-invisibility-spec): New functions.
(dired-mode): Add filename invisibility spec.
(dired-make-directory-clickable)
(dired-kill-when-opening-new-dired-buffer)
(dired-hide-details-preserved-columns): Add missing :group.
* lisp/wdired.el (wdired-change-to-wdired-mode)
(wdired-change-to-dired-mode): Update filename invisibility spec.
* etc/NEWS: Announce the change.  (Bug#67161)
etc/NEWS
lisp/dired.el
lisp/wdired.el