emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 5708322: ; * lisp/files.el (set-auto-mode--apply-alist): Doc fix.


From: Eli Zaretskii
Subject: master 5708322: ; * lisp/files.el (set-auto-mode--apply-alist): Doc fix.
Date: Fri, 23 Jul 2021 15:44:05 -0400 (EDT)

branch: master
commit 570832256061a70caf8b0892d3fb92c36fe28988
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * lisp/files.el (set-auto-mode--apply-alist): Doc fix.
---
 lisp/files.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/lisp/files.el b/lisp/files.el
index c0effd1..d915c2a 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3200,9 +3200,10 @@ Also applies to `magic-fallback-mode-alist'.")
 This function takes an alist of the same form as
 `auto-mode-alist'.  It then tries to find the appropriate match
 in the alist for the current buffer; setting the mode if
-possible.  Returns non-`nil' if the mode was set, `nil'
-otherwise.  DIR-LOCAL is a boolean which, if true, says that this
-call is via directory-locals and extra checks should be done."
+possible.
+Return non-nil if the mode was set, nil otherwise.
+DIR-LOCAL non-nil means this call is via directory-locals, and
+extra checks should be done."
   (if buffer-file-name
       (let (mode
             (name buffer-file-name)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]