From 60f3e9f5c92622b6ab8811147b576a2052d15e60 Mon Sep 17 00:00:00 2001 From: "Paul W. Rankin" <hello@paulwrankin.com> Date: Tue, 3 Oct 2023 07:27:38 -0300 Subject: [PATCH] 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) -- 2.39.5