summaryrefslogtreecommitdiff
path: root/lisp/saveplace.el
diff options
context:
space:
mode:
authorMauro Aranda <maurooaranda@gmail.com>2023-09-14 08:24:43 -0300
committerEli Zaretskii <eliz@gnu.org>2023-09-14 16:14:51 +0300
commitc9cb8ee0fc0dd3cad7b56b8fc37f943a0f12f326 (patch)
treeb469babb959abac594df30d0eaa0a45be2c40248 /lisp/saveplace.el
parent5ec8be1d58922eb7af95f720882dbb56410129d4 (diff)
downloademacs-c9cb8ee0fc0dd3cad7b56b8fc37f943a0f12f326.tar.gz
Fix defcustom in saveplace.el (Bug#65977)
* lisp/saveplace.el (save-place-ignore-files-regexp): Allow nil.
Diffstat (limited to 'lisp/saveplace.el')
-rw-r--r--lisp/saveplace.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/saveplace.el b/lisp/saveplace.el
index 71cd8b9bc0e..92228dc8e78 100644
--- a/lisp/saveplace.el
+++ b/lisp/saveplace.el
@@ -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))