emacs-diffs
[Top][All Lists]
Advanced

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

emacs-28 1e1263b00b: * lisp/find-file.el (ff-other-file-alist): Doc fix.


From: Eli Zaretskii
Subject: emacs-28 1e1263b00b: * lisp/find-file.el (ff-other-file-alist): Doc fix. (Bug#57325)
Date: Sun, 21 Aug 2022 14:49:25 -0400 (EDT)

branch: emacs-28
commit 1e1263b00b9cb722216fde7e45c42259960ab38a
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    * lisp/find-file.el (ff-other-file-alist): Doc fix.  (Bug#57325)
---
 lisp/find-file.el | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/lisp/find-file.el b/lisp/find-file.el
index 809592413d..e137397d24 100644
--- a/lisp/find-file.el
+++ b/lisp/find-file.el
@@ -189,6 +189,13 @@ filename that EXTRACT returned."
 (defcustom ff-other-file-alist 'cc-other-file-alist
   "Alist of extensions to find given the current file's extension.
 
+The value could be an alist or a symbol whose value is an alist.
+Each element of the alist has the form
+
+  (REGEXP (ETXENSION...))
+
+where REGEXP is the regular expression matching a file's extension,
+and EXTENSIONs is the list of literal file-name extensions to search for.
 This list should contain the most used extensions before the others,
 since the search algorithm searches sequentially through each
 directory specified in `ff-search-directories'.  If a file is not found,



reply via email to

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