]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/find-file.el (ff-other-file-alist): Doc fix. (Bug#57325)
authorEli Zaretskii <eliz@gnu.org>
Sun, 21 Aug 2022 18:48:58 +0000 (21:48 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 21 Aug 2022 18:48:58 +0000 (21:48 +0300)
lisp/find-file.el

index 809592413dd6c2fd7d5a60f432cd92a8ee5f480f..e137397d24cdd38d35d3b740a0f00a6f46d650b5 100644 (file)
@@ -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,