changeset 93550:d4564d8c8835

(forward-paragraph, backward-paragraph, forward-sentence, backward-sentence): Add ^ interactive spec.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 02 Apr 2008 20:17:05 +0000
parents b615c4d2a14d
children e2159923235d
files lisp/textmodes/paragraphs.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/paragraphs.el	Wed Apr 02 20:16:33 2008 +0000
+++ b/lisp/textmodes/paragraphs.el	Wed Apr 02 20:17:05 2008 +0000
@@ -217,7 +217,7 @@
 A paragraph end is the beginning of a line which is not part of the paragraph
 to which the end of the previous line belongs, or the end of the buffer.
 Returns the count of paragraphs left to move."
-  (interactive "p")
+  (interactive "^p")
   (or arg (setq arg 1))
   (let* ((opoint (point))
 	 (fill-prefix-regexp
@@ -361,7 +361,7 @@
 blank line.
 
 See `forward-paragraph' for more information."
-  (interactive "p")
+  (interactive "^p")
   (or arg (setq arg 1))
   (forward-paragraph (- arg)))
 
@@ -445,7 +445,7 @@
 
 The variable `sentence-end' is a regular expression that matches ends of
 sentences.  Also, every paragraph boundary terminates sentences as well."
-  (interactive "p")
+  (interactive "^p")
   (or arg (setq arg 1))
   (let ((opoint (point))
         (sentence-end (sentence-end)))
@@ -477,7 +477,7 @@
 (defun backward-sentence (&optional arg)
   "Move backward to start of sentence.  With arg, do it arg times.
 See `forward-sentence' for more information."
-  (interactive "p")
+  (interactive "^p")
   (or arg (setq arg 1))
   (forward-sentence (- arg)))