From: Eli Zaretskii Date: Sat, 2 Sep 2023 12:01:23 +0000 (+0300) Subject: ; * lisp/ffap.el (ffap-rfs-regexp): Fix :type (bug#65698). X-Git-Tag: emacs-29.1.90~150 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=524c0c34f245440e45f3672b35b32e529cbb5c2a;p=emacs.git ; * lisp/ffap.el (ffap-rfs-regexp): Fix :type (bug#65698). --- 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