summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-06-13 09:44:26 -0700
committerGlenn Morris <rgm@gnu.org>2013-06-13 09:44:26 -0700
commitba947bc42f25610df83c3e36d8b7949102054427 (patch)
treed0bc3b30beed16226f90242f3aeb22c02703c204 /lisp/emacs-lisp/lisp.el
parent94fa6ec7b306b47c251f7b8b67662598027a7ff3 (diff)
downloademacs-ba947bc42f25610df83c3e36d8b7949102054427.tar.gz
emacs-ba947bc42f25610df83c3e36d8b7949102054427.tar.bz2
emacs-ba947bc42f25610df83c3e36d8b7949102054427.zip
* emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
-rw-r--r--lisp/emacs-lisp/lisp.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
index a31bef2391d..b37a811b8d5 100644
--- a/lisp/emacs-lisp/lisp.el
+++ b/lisp/emacs-lisp/lisp.el
@@ -59,7 +59,8 @@ Should take the same arguments and behave similarly to `forward-sexp'.")
"Move forward across one balanced expression (sexp).
With ARG, do it that many times. Negative arg -N means
move backward across N balanced expressions.
-This command assumes point is not in a string or comment."
+This command assumes point is not in a string or comment.
+Calls `forward-sexp-function' to do the work, if that is non-nil."
(interactive "^p")
(or arg (setq arg 1))
(if forward-sexp-function
@@ -71,7 +72,8 @@ This command assumes point is not in a string or comment."
"Move backward across one balanced expression (sexp).
With ARG, do it that many times. Negative arg -N means
move forward across N balanced expressions.
-This command assumes point is not in a string or comment."
+This command assumes point is not in a string or comment.
+Uses `forward-sexp' to do the work."
(interactive "^p")
(or arg (setq arg 1))
(forward-sexp (- arg)))