From 524c0c34f245440e45f3672b35b32e529cbb5c2a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 2 Sep 2023 15:01:23 +0300 Subject: [PATCH] ; * lisp/ffap.el (ffap-rfs-regexp): Fix :type (bug#65698). --- lisp/ffap.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ffap.el b/lisp/ffap.el index 57f5271708b..2c99f88d505 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el @@ -174,7 +174,8 @@ Note this name may be omitted if it equals the default "\\`/\\(afs\\|net\\)/." ;; afs only: (and (file-exists-p "/afs") "\\`/afs/.") "Matching file names are treated as remote. Use nil to disable." - :type 'regexp + :type '(choice (const :tag "Disable" nil) + regexp) :group 'ffap) (defvar ffap-url-regexp -- 2.39.2