diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2005-10-16 23:46:15 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2005-10-16 23:46:15 +0000 |
commit | 625fca9a902a069f814c7b1a3fa2306090b16d97 (patch) | |
tree | 2b55300bcc5a48cbea2272a754943705fe5db45e /lisp/longlines.el | |
parent | 72147c533b3528e66e74ce748266111e69754469 (diff) | |
download | emacs-625fca9a902a069f814c7b1a3fa2306090b16d97.tar.gz emacs-625fca9a902a069f814c7b1a3fa2306090b16d97.tar.bz2 emacs-625fca9a902a069f814c7b1a3fa2306090b16d97.zip |
* longlines.el (longlines-search-forward)
(longlines-search-backward): Match any number of spaces.
Diffstat (limited to 'lisp/longlines.el')
-rw-r--r-- | lisp/longlines.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/longlines.el b/lisp/longlines.el index 9665931e046..00a2782d0a3 100644 --- a/lisp/longlines.el +++ b/lisp/longlines.el @@ -398,11 +398,11 @@ This is called by `window-size-change-functions'." '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))) ;; Loading and saving |