Subject: Re: bug#65977: 30.0.50; save-place-ignore-files-regexp missing choice

From: Mauro Aranda <[email-masked]>
Date: Thu, 14 Sep 2023 08:25:55 -0300

tags 65977 patch
quit

Patch attached.

From be7e28d90e5b0d0a03a6bbd54e5ec9cc915cbe6e Mon Sep 17 00:00:00 2001
From: Mauro Aranda <[email-masked]>
Date: Thu, 14 Sep 2023 08:24:43 -0300
Subject: [PATCH] Fix defcustom in saveplace.el (Bug#65977)

* lisp/saveplace.el (save-place-ignore-files-regexp): Allow nil.
---
 lisp/saveplace.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/saveplace.el b/lisp/saveplace.el
index a28de6f63a8..9004d489e9a 100644
--- a/lisp/saveplace.el
+++ b/lisp/saveplace.el
@@ -201,7 +201,8 @@ save-place-ignore-files-regexp
 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))
 
-- 
2.34.1