]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix defcustom in saveplace.el (Bug#65977)
authorMauro Aranda <maurooaranda@gmail.com>
Thu, 14 Sep 2023 11:24:43 +0000 (08:24 -0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 14 Sep 2023 13:14:51 +0000 (16:14 +0300)
* lisp/saveplace.el (save-place-ignore-files-regexp): Allow nil.

lisp/saveplace.el

index 71cd8b9bc0ea39f988266f6c7b23358aa5e0af81..92228dc8e7890be5c5d6e3e02c4eeae9a53833e0 100644 (file)
@@ -133,7 +133,8 @@ Useful for temporary file such as commit message files that are
 automatically created by the VCS.  If set to nil, this feature is
 disabled, i.e., the position is recorded for all files."
   :version "24.1"
-  :type 'regexp)
+  :type '(choice (const :tag "Record position for all files" nil)
+                 regexp))
 
 (declare-function dired-current-directory "dired" (&optional localp))