* bug#34518: Trivial documentation fix: name of 'add-variable-watcher'
@ 2019-02-18 0:22 David Pathakjee
2019-02-18 17:17 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: David Pathakjee @ 2019-02-18 0:22 UTC (permalink / raw)
To: 34518
[-- 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-18 17:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-18 0:22 bug#34518: Trivial documentation fix: name of 'add-variable-watcher' David Pathakjee
2019-02-18 17:17 ` Eli Zaretskii
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.