[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/subr.el
From: |
Richard M . Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/subr.el |
Date: |
Sat, 16 Oct 2004 12:07:03 -0400 |
Index: emacs/lisp/subr.el
diff -c emacs/lisp/subr.el:1.418 emacs/lisp/subr.el:1.419
*** emacs/lisp/subr.el:1.418 Wed Oct 13 17:05:55 2004
--- emacs/lisp/subr.el Sat Oct 16 15:29:46 2004
***************
*** 2023,2033 ****
(defun looking-back (regexp &optional limit)
"Return non-nil if text before point matches regular expression REGEXP.
! Like `looking-at' except backwards and slower.
LIMIT if non-nil speeds up the search by specifying how far back the
match can start."
! (save-excursion
! (re-search-backward (concat "\\(?:" regexp "\\)\\=") limit t)))
(defconst split-string-default-separators "[ \f\t\n\r\v]+"
"The default value of separators for `split-string'.
--- 2023,2034 ----
(defun looking-back (regexp &optional limit)
"Return non-nil if text before point matches regular expression REGEXP.
! Like `looking-at' except matches before point, and is slower.
LIMIT if non-nil speeds up the search by specifying how far back the
match can start."
! (not (null
! (save-excursion
! (re-search-backward (concat "\\(?:" regexp "\\)\\=") limit t)))))
(defconst split-string-default-separators "[ \f\t\n\r\v]+"
"The default value of separators for `split-string'.
- [Emacs-diffs] Changes to emacs/lisp/subr.el, Eli Zaretskii, 2004/10/08
- [Emacs-diffs] Changes to emacs/lisp/subr.el, Kim F . Storm, 2004/10/09
- [Emacs-diffs] Changes to emacs/lisp/subr.el, Kim F . Storm, 2004/10/11
- [Emacs-diffs] Changes to emacs/lisp/subr.el, Stefan Monnier, 2004/10/13
- [Emacs-diffs] Changes to emacs/lisp/subr.el,
Richard M . Stallman <=
- [Emacs-diffs] Changes to emacs/lisp/subr.el, Richard M . Stallman, 2004/10/17
- [Emacs-diffs] Changes to emacs/lisp/subr.el, Simon Josefsson, 2004/10/25
- [Emacs-diffs] Changes to emacs/lisp/subr.el, Stefan Monnier, 2004/10/28
- [Emacs-diffs] Changes to emacs/lisp/subr.el, Simon Josefsson, 2004/10/29