[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/longlines.el,v
From: |
Chong Yidong |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/longlines.el,v |
Date: |
Thu, 12 Jun 2008 17:28:00 +0000 |
CVSROOT: /sources/emacs
Module name: emacs
Changes by: Chong Yidong <cyd> 08/06/12 17:28:00
Index: longlines.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/longlines.el,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -b -r1.47 -r1.48
--- longlines.el 6 Jun 2008 20:39:18 -0000 1.47
+++ longlines.el 12 Jun 2008 17:28:00 -0000 1.48
@@ -464,15 +464,15 @@
'longlines-search-backward))))
(defun longlines-search-forward (string &optional bound noerror count)
- (let ((search-spaces-regexp "[ \n]+"))
+ (let ((search-spaces-regexp " *[ \n]"))
(re-search-forward (regexp-quote string) bound noerror count)))
(defun longlines-search-backward (string &optional bound noerror count)
- (let ((search-spaces-regexp "[ \n]+"))
+ (let ((search-spaces-regexp " *[ \n]"))
(re-search-backward (regexp-quote string) bound noerror count)))
(defun longlines-re-search-forward (string &optional bound noerror count)
- (let ((search-spaces-regexp "[ \n]"))
+ (let ((search-spaces-regexp " *[ \n]"))
(re-search-forward string bound noerror count)))
;; Loading and saving