From 2ddbd5b168ef6051f6712a518837e3f4006c932a Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 13 Mar 2025 12:21:28 +0200 Subject: [PATCH] ; Fix last change (bug#75543) * lisp/textmodes/remember.el (remember-initial-major-mode) (remember-data-files-regex): Fix :version and doc strings. * etc/NEWS: Fix last added entries. (cherry picked from commit d29e0add71d6b7058930527194b8227233e50c3a) --- lisp/textmodes/remember.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/textmodes/remember.el b/lisp/textmodes/remember.el index 7a378fed68e..ac0dd384dda 100644 --- a/lisp/textmodes/remember.el +++ b/lisp/textmodes/remember.el @@ -185,8 +185,8 @@ (defcustom remember-initial-major-mode 'text-mode "Major mode to use in the `remember-buffer'." :type '(choice (const :tag "Use `initial-major-mode'" nil) - (function :tag "Major mode" text-mode)) - :version "31.0") + (function :tag "Major mode" text-mode)) + :version "31.1") (defcustom remember-mode-hook nil "Functions run upon entering `remember-mode'." @@ -484,10 +484,10 @@ The file is named by calling `format-time-string' using (defcustom remember-data-files-regex nil "Regular expression for specifying which files to append data. -If non-nil, keep only files whose non-directory part match the regexp. +If non-nil, keep only files whose non-directory part matches the regexp. Used by `remember-append-in-data-directory'." :type '(choice (const :tag "Any file" nil) regexp) - :version "31.0") + :version "31.1") (defun remember-append-in-data-directory () "Append remember data to a file in `remember-data-directory'. @@ -709,6 +709,7 @@ is non-nil, bury it and return nil; otherwise return t." ;; Prefix map +(defvar remember-prefix-map) (define-prefix-command 'remember-prefix-map) ;; Use with for example: ;; (keymap-global-set "C-c r" 'remember-prefix-map) -- 2.39.5