From: Gabriel <gabriel376@hotmail.com>
To: 49373@debbugs.gnu.org
Subject: bug#49373: 28.0.50; [PATCH] Use 'remember-buffer' in remember.el doc strings
Date: Sun, 04 Jul 2021 02:15:14 -0300 [thread overview]
Message-ID: <CH2PR01MB5879443EBB75F32A5AD60E0D8B1D9@CH2PR01MB5879.prod.exchangelabs.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 126 bytes --]
This patch replaces the hard coded '*Remember*' string with
'remember-buffer' in all doc strings occurrences in remember.el.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Use-remember-buffer-in-remember.el-doc-strings.patch --]
[-- Type: text/x-patch, Size: 2287 bytes --]
From c60201aeff21521a036d4fdc990de9ffedd94ffd Mon Sep 17 00:00:00 2001
From: Gabriel do Nascimento Ribeiro <gabriel376@hotmail.com>
Date: Sun, 4 Jul 2021 02:06:12 -0300
Subject: [PATCH 1/1] Use 'remember-buffer' in remember.el doc strings.
lispt/textmodes/remember.el (remember-initial-contents)
(remember-before-remember-hook, remember, remember-region)
(remember-destroy): Ditto.
---
lisp/textmodes/remember.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/lisp/textmodes/remember.el b/lisp/textmodes/remember.el
index 4acdc9f4d8..4daeb336da 100644
--- a/lisp/textmodes/remember.el
+++ b/lisp/textmodes/remember.el
@@ -240,10 +240,10 @@ remember-annotation-functions
(defvar remember-annotation nil
"Current annotation.")
(defvar remember-initial-contents nil
- "Initial contents to place into *Remember* buffer.")
+ "Initial contents to place into `remember-buffer'.")
(defcustom remember-before-remember-hook nil
- "Functions run before switching to the *Remember* buffer."
+ "Functions run before switching to the `remember-buffer'."
:type 'hook)
(defcustom remember-run-all-annotation-functions-flag nil
@@ -253,8 +253,8 @@ remember-run-all-annotation-functions-flag
;;;###autoload
(defun remember (&optional initial)
"Remember an arbitrary piece of data.
-INITIAL is the text to initially place in the *Remember* buffer,
-or nil to bring up a blank *Remember* buffer.
+INITIAL is the text to initially place in the `remember-buffer',
+or nil to bring up a blank `remember-buffer'.
With a prefix or a visible region, use the region as INITIAL."
(interactive
@@ -422,7 +422,7 @@ remember-append-to-file
(defun remember-region (&optional beg end)
"Remember the data from BEG to END.
-It is called from within the *Remember* buffer to save the text
+It is called from within the `remember-buffer' to save the text
that was entered.
If BEG and END are nil, the entire buffer will be remembered.
@@ -478,7 +478,7 @@ remember-finalize
(remember-region (point-min) (point-max)))
(defun remember-destroy ()
- "Destroy the current *Remember* buffer."
+ "Destroy the current `remember-buffer'."
(interactive)
(when (equal remember-buffer (buffer-name))
(kill-buffer (current-buffer))
--
2.32.0
next reply other threads:[~2021-07-04 5:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-04 5:15 Gabriel [this message]
2021-07-04 6:02 ` bug#49373: 28.0.50; [PATCH] Use 'remember-buffer' in remember.el doc strings Eli Zaretskii
2021-07-04 15:21 ` Gabriel
2021-07-04 16:37 ` Eli Zaretskii
2021-07-05 13:20 ` Lars Ingebrigtsen
2021-07-19 15:48 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CH2PR01MB5879443EBB75F32A5AD60E0D8B1D9@CH2PR01MB5879.prod.exchangelabs.com \
--to=gabriel376@hotmail.com \
--cc=49373@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.