summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-01-17 23:48:10 +0000
committerRichard M. Stallman <rms@gnu.org>2005-01-17 23:48:10 +0000
commitdd60a465fbc6039e025165624147f5ef993f42d1 (patch)
tree34f3717a70e97163bb6a716dd91ec4905c623c8d /lisp/emacs-lisp
parent67476fca4fbf43b7045df65c91ffe860b99124e2 (diff)
downloademacs-dd60a465fbc6039e025165624147f5ef993f42d1.tar.gz
emacs-dd60a465fbc6039e025165624147f5ef993f42d1.tar.bz2
emacs-dd60a465fbc6039e025165624147f5ef993f42d1.zip
(backward-kill-sexp, kill-sexp): Doc fixes.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/lisp.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
index 69938255112..d19eace5824 100644
--- a/lisp/emacs-lisp/lisp.el
+++ b/lisp/emacs-lisp/lisp.el
@@ -140,18 +140,18 @@ A negative argument means move backward but still to a less deep spot."
(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))))