From: Paul W. Rankin Date: Tue, 3 Oct 2023 10:27:38 +0000 (-0300) Subject: Improve find-sibling-rules option type X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=60f3e9f5c92622b6ab8811147b576a2052d15e60;p=emacs.git Improve find-sibling-rules option type * lisp/files.el (find-sibling-rules): More helpful rules. --- 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)