diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/subr.el | 5 | 
2 files changed, 8 insertions, 1 deletions
| diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9a04acfa686..9395df089bb 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2013-09-29  Xue Fuqiao  <xfq.free@gmail.com> + +	* subr.el (looking-back): Do not recommend using looking-back. +  2013-09-28  Alan Mackenzie  <acm@muc.de>  	Fix indentation/fontification of Java enum with "implements". diff --git a/lisp/subr.el b/lisp/subr.el index 43be9f529be..ba240a27064 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -3482,7 +3482,10 @@ If GREEDY is non-nil, extend the match backwards as far as  possible, stopping when a single additional previous character  cannot be part of a match for REGEXP.  When the match is  extended, its starting position is allowed to occur before -LIMIT." +LIMIT. + +As a general recommendation, try to avoid using `looking-back' +wherever possible, since it is slow."    (let ((start (point))  	(pos  	 (save-excursion | 
