Mercurial > emacs
changeset 59602:99bf07f49031
(backward-kill-sexp, kill-sexp): Doc fixes.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 17 Jan 2005 23:48:10 +0000 |
parents | 73b89f6377fc |
children | 19bde7f71d99 |
files | lisp/emacs-lisp/lisp.el |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp.el Mon Jan 17 21:24:46 2005 +0000 +++ b/lisp/emacs-lisp/lisp.el Mon Jan 17 23:48:10 2005 +0000 @@ -140,18 +140,18 @@ (setq arg (- arg inc))))) (defun kill-sexp (&optional arg) - "Kill the sexp (balanced expression) following the cursor. -With ARG, kill that many sexps after the cursor. -Negative arg -N means kill N sexps before the cursor." + "Kill the sexp (balanced expression) following point. +With ARG, kill that many sexps after point. +Negative arg -N means kill N sexps before point." (interactive "p") (let ((opoint (point))) (forward-sexp (or arg 1)) (kill-region opoint (point)))) (defun backward-kill-sexp (&optional arg) - "Kill the sexp (balanced expression) preceding the cursor. -With ARG, kill that many sexps before the cursor. -Negative arg -N means kill N sexps after the cursor." + "Kill the sexp (balanced expression) preceding point. +With ARG, kill that many sexps before point. +Negative arg -N means kill N sexps after point." (interactive "p") (kill-sexp (- (or arg 1))))