emacs-diffs
[Top][All Lists]
Advanced

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

master 60f3e9f5c92: Improve find-sibling-rules option type


From: Eli Zaretskii
Subject: master 60f3e9f5c92: Improve find-sibling-rules option type
Date: Thu, 5 Oct 2023 03:46:21 -0400 (EDT)

branch: master
commit 60f3e9f5c92622b6ab8811147b576a2052d15e60
Author: Paul W. Rankin <hello@paulwrankin.com>
Commit: Eli Zaretskii <eliz@gnu.org>

    Improve find-sibling-rules option type
    
    * lisp/files.el (find-sibling-rules): More helpful rules.
---
 lisp/files.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/files.el b/lisp/files.el
index ddae097f1d1..884c6b74247 100644
--- 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)



reply via email to

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