mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 03:13:24 +00:00
* emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
This commit is contained in:
parent
94fa6ec7b3
commit
ba947bc42f
2 changed files with 8 additions and 2 deletions
|
@ -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)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue