projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8733410
)
Improve find-sibling-rules option type
author
Paul W. Rankin
<hello@paulwrankin.com>
Tue, 3 Oct 2023 10:27:38 +0000
(07:27 -0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Thu, 5 Oct 2023 07:45:31 +0000
(10:45 +0300)
* lisp/files.el (find-sibling-rules): More helpful rules.
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index ddae097f1d1001e5624dadd4c6aa511f7e489e86..884c6b7424712226b0bac37befafa555615dbb8e 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-7572,7
+7572,8
@@
files, you could say something like:
In this example, if you're in \"src/emacs/emacs-27/lisp/abbrev.el\",
and a \"src/emacs/emacs-28/lisp/abbrev.el\" file exists, it's now
defined as a sibling."
- :type 'sexp
+ :type '(alist :key-type (regexp :tag "Match")
+ :value-type (repeat (string :tag "Expansion")))
:version "29.1")
(defun find-sibling-file (file)