diff options
| author | Eli Zaretskii | 2021-07-23 22:43:22 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2021-07-23 22:43:22 +0300 |
| commit | 570832256061a70caf8b0892d3fb92c36fe28988 (patch) | |
| tree | 38e7e7fbfabac64a43f24ed43f3c8ed210e17e3e | |
| parent | 1163217725243c250a0c8adbf06bccff35035db5 (diff) | |
| download | emacs-570832256061a70caf8b0892d3fb92c36fe28988.tar.gz emacs-570832256061a70caf8b0892d3fb92c36fe28988.zip | |
; * lisp/files.el (set-auto-mode--apply-alist): Doc fix.
| -rw-r--r-- | lisp/files.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/files.el b/lisp/files.el index c0effd1ad6b..d915c2a30b5 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -3200,9 +3200,10 @@ Also applies to `magic-fallback-mode-alist'.") | |||
| 3200 | This function takes an alist of the same form as | 3200 | This function takes an alist of the same form as |
| 3201 | `auto-mode-alist'. It then tries to find the appropriate match | 3201 | `auto-mode-alist'. It then tries to find the appropriate match |
| 3202 | in the alist for the current buffer; setting the mode if | 3202 | in the alist for the current buffer; setting the mode if |
| 3203 | possible. Returns non-`nil' if the mode was set, `nil' | 3203 | possible. |
| 3204 | otherwise. DIR-LOCAL is a boolean which, if true, says that this | 3204 | Return non-nil if the mode was set, nil otherwise. |
| 3205 | call is via directory-locals and extra checks should be done." | 3205 | DIR-LOCAL non-nil means this call is via directory-locals, and |
| 3206 | extra checks should be done." | ||
| 3206 | (if buffer-file-name | 3207 | (if buffer-file-name |
| 3207 | (let (mode | 3208 | (let (mode |
| 3208 | (name buffer-file-name) | 3209 | (name buffer-file-name) |