[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/textmodes/paragraphs.el [lexbind]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/textmodes/paragraphs.el [lexbind] |
Date: |
Tue, 14 Oct 2003 19:30:35 -0400 |
Index: emacs/lisp/textmodes/paragraphs.el
diff -c emacs/lisp/textmodes/paragraphs.el:1.60.4.1
emacs/lisp/textmodes/paragraphs.el:1.60.4.2
*** emacs/lisp/textmodes/paragraphs.el:1.60.4.1 Fri Apr 4 01:20:37 2003
--- emacs/lisp/textmodes/paragraphs.el Tue Oct 14 19:30:21 2003
***************
*** 420,425 ****
--- 420,433 ----
(setq arg (1- arg)))
(constrain-to-field nil opoint t)))
+ (defun repunctuate-sentences ()
+ (interactive)
+ "Put two spaces at the end of sentences from point to the end of buffer.
+ It works using `query-replace-regexp'."
+ (query-replace-regexp "\\([]\"')]?\\)\\([.?!]\\)\\([]\"')]?\\) +"
+ "\\1\\2\\3 "))
+
+
(defun backward-sentence (&optional arg)
"Move backward to start of sentence. With arg, do it arg times.
See `forward-sentence' for more information."
***************
*** 461,464 ****
--- 469,473 ----
;;; coding: iso-2022-7bit
;;; End:
+ ;;; arch-tag: e727eb1a-527a-4464-b9d7-9d3ec0d1a575
;;; paragraphs.el ends here
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/textmodes/paragraphs.el [lexbind],
Miles Bader <=