aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPo Lu2023-03-02 20:45:21 +0800
committerPo Lu2023-03-02 20:45:21 +0800
commite18cbd0cc6422096e6f5385593f28d03de36eefb (patch)
tree5721fe37010b883a1e073ed8ab80f379bca150b4
parenta6a586ffc1bd302e30d80cb88b06e1e7e1573f63 (diff)
parent3b39873ce214bf58f23d0130c2df7308e69c656b (diff)
downloademacs-e18cbd0cc6422096e6f5385593f28d03de36eefb.tar.gz
emacs-e18cbd0cc6422096e6f5385593f28d03de36eefb.zip
Merge remote-tracking branch 'origin/master' into feature/android
-rw-r--r--lisp/dired.el16
-rw-r--r--lisp/man.el2
2 files changed, 15 insertions, 3 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index 55a5bbd9800..8e3244356fe 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -490,6 +490,11 @@ to nil: a pipe using `zcat' or `gunzip -c' will be used."
490 (string :tag "Switches")) 490 (string :tag "Switches"))
491 :version "29.1") 491 :version "29.1")
492 492
493(defcustom dired-hide-details-preserved-columns nil
494 "List of columns which are not hidden in `dired-hide-details-mode'."
495 :type '(repeat integer)
496 :version "30.1")
497
493 498
494;;; Internal variables 499;;; Internal variables
495 500
@@ -1880,8 +1885,15 @@ other marked file as well. Otherwise, unmark all files."
1880 (put-text-property (line-beginning-position) 1885 (put-text-property (line-beginning-position)
1881 (1+ (line-end-position)) 1886 (1+ (line-end-position))
1882 'invisible 'dired-hide-details-information)) 1887 'invisible 'dired-hide-details-information))
1883 (put-text-property (+ (line-beginning-position) 1) (1- (point)) 1888 (save-excursion
1884 'invisible 'dired-hide-details-detail) 1889 (let ((end (1- (point)))
1890 (opoint (goto-char (1+ (pos-bol))))
1891 (i 0))
1892 (put-text-property opoint end 'invisible 'dired-hide-details-detail)
1893 (while (re-search-forward "[^ ]+" end t)
1894 (when (member (cl-incf i) dired-hide-details-preserved-columns)
1895 (put-text-property opoint (point) 'invisible nil))
1896 (setq opoint (point)))))
1885 (when (and dired-mouse-drag-files (fboundp 'x-begin-drag)) 1897 (when (and dired-mouse-drag-files (fboundp 'x-begin-drag))
1886 (put-text-property (point) 1898 (put-text-property (point)
1887 (save-excursion 1899 (save-excursion
diff --git a/lisp/man.el b/lisp/man.el
index 3ab9aa5b4dd..479bf9f9a3c 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -103,7 +103,7 @@ When this is non-nil, call the \"man\" program synchronously
103(rather than asynchronously, which is the default behavior)." 103(rather than asynchronously, which is the default behavior)."
104 :type 'boolean 104 :type 'boolean
105 :group 'man 105 :group 'man
106 :version 30.1) 106 :version "30.1")
107 107
108(defcustom Man-filter-list nil 108(defcustom Man-filter-list nil
109 "Manpage cleaning filter command phrases. 109 "Manpage cleaning filter command phrases.