all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Pathakjee <dpathakjee@gmail.com>
To: 34518@debbugs.gnu.org
Subject: bug#34518: Trivial documentation fix: name of 'add-variable-watcher'
Date: Sun, 17 Feb 2019 16:22:35 -0800	[thread overview]
Message-ID: <934A3877-FAD8-489A-B255-DE3F3ED2ED48@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 92 bytes --]

The docstring of debug-on-variable-change misnames `add-variable-watcher'. Patch attached.

[-- Attachment #2: 0001-Trivial-docfix-real-function-name-is-add-variable-wa.patch --]
[-- Type: application/octet-stream, Size: 1514 bytes --]

From 4f516c91f7fa947ba87c4647ba305d16ff027ef2 Mon Sep 17 00:00:00 2001
From: David Pathakjee <dpathakjee@gmail.com>
Date: Sun, 17 Feb 2019 16:08:33 -0800
Subject: [PATCH] Trivial docfix: real function name is `add-variable-watcher'.

---
 lisp/emacs-lisp/debug.el | 2 +-
 lisp/ldefs-boot.el       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el
index 5c186f7019..3c47561317 100644
--- a/lisp/emacs-lisp/debug.el
+++ b/lisp/emacs-lisp/debug.el
@@ -744,7 +744,7 @@ This function is called when SYMBOL's value is modified."
 
 When called interactively, prompt for VARIABLE in the minibuffer.
 
-This works by calling `add-variable-watch' on VARIABLE.  If you
+This works by calling `add-variable-watcher' on VARIABLE.  If you
 quit from the debugger, this will abort the change (unless the
 change is caused by the termination of a let-binding).
 
diff --git a/lisp/ldefs-boot.el b/lisp/ldefs-boot.el
index f90815dc9b..744c2ae233 100644
--- a/lisp/ldefs-boot.el
+++ b/lisp/ldefs-boot.el
@@ -6851,7 +6851,7 @@ Trigger a debugger invocation when VARIABLE is changed.
 
 When called interactively, prompt for VARIABLE in the minibuffer.
 
-This works by calling `add-variable-watch' on VARIABLE.  If you
+This works by calling `add-variable-watcher' on VARIABLE.  If you
 quit from the debugger, this will abort the change (unless the
 change is caused by the termination of a let-binding).
 
-- 
2.18.0


             reply	other threads:[~2019-02-18  0:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-18  0:22 David Pathakjee [this message]
2019-02-18 17:17 ` bug#34518: Trivial documentation fix: name of 'add-variable-watcher' Eli Zaretskii

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=934A3877-FAD8-489A-B255-DE3F3ED2ED48@gmail.com \
    --to=dpathakjee@gmail.com \
    --cc=34518@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.