summaryrefslogtreecommitdiff
path: root/lisp/dired-x.el
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2016-12-02 16:36:43 +0000
committerReuben Thomas <rrt@sc3d.org>2016-12-02 16:38:05 +0000
commit5315275f849d664ff4b5124ef9411a2c16114fd9 (patch)
tree989a84839e95836d56a2886df31dc1dc832b8ea2 /lisp/dired-x.el
parent9effa4bfebdb9d78339997253916602afbdc6b37 (diff)
downloademacs-5315275f849d664ff4b5124ef9411a2c16114fd9.tar.gz
Fix docstrings to have a complete sentence in first line
* lisp/dired-x.el (dired-omit-case-fold, dired-omit-case-fold-p): Fix docstrings.
Diffstat (limited to 'lisp/dired-x.el')
-rw-r--r--lisp/dired-x.el13
1 files changed, 5 insertions, 8 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el
index 1a844ae0f61..a3034d189c7 100644
--- a/lisp/dired-x.el
+++ b/lisp/dired-x.el
@@ -120,11 +120,10 @@ If nil, there is no maximum size."
:group 'dired-x)
(defcustom dired-omit-case-fold 'filesystem
- "Determine whether `dired-omit-mode' will use case-folding to
-match the regexp of files to omit. When nil, always be
-case-sensitive; when t, always be case-insensitive; the default
-value, 'filesystem, causes case folding to be used on
-case-insensitive filesystems only."
+ "Determine whether \"omitting\" patterns are case-sensitive.
+When nil, always be case-sensitive; when t, always be
+case-insensitive; the default value, 'filesystem, causes case
+folding to be used on case-insensitive filesystems only."
:type '(choice (const :tag "Always case-sensitive" nil)
(const :tag "Always case-insensitive" t)
(const :tag "According to filesystem" filesystem))
@@ -132,9 +131,7 @@ case-insensitive filesystems only."
:version "26.1")
(defun dired-omit-case-fold-p (dir)
- "Return t if, according to `dired-omit-case-fold',
- `dired-omit-mode' should use case folding to interpret its
- regexp in directory DIR, or nil otherwise."
+ "Non-nil if `dired-omit-mode' should be case-insensitive in DIR."
(if (eq dired-omit-case-fold 'filesystem)
(file-name-case-sensitive-p dir)
dired-omit-case-fold))