[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/tex-buf.el
From: |
David Kastrup |
Subject: |
[AUCTeX-diffs] Changes to auctex/tex-buf.el |
Date: |
Thu, 20 Apr 2006 20:39:29 +0000 |
Index: auctex/tex-buf.el
diff -u auctex/tex-buf.el:1.249 auctex/tex-buf.el:1.250
--- auctex/tex-buf.el:1.249 Tue Mar 7 10:08:57 2006
+++ auctex/tex-buf.el Thu Apr 20 20:39:28 2006
@@ -1533,8 +1533,9 @@
(let ((start (point)))
(goto-line (+ offset line-end))
(end-of-line)
- (search-backward string start t)
- (search-forward string nil t)))
+ (when string
+ (search-backward string start t)
+ (search-forward string nil t))))
;; Display help
(if TeX-display-help
(TeX-help-error error (if bad-box context (concat "\n" context))
- [AUCTeX-diffs] Changes to auctex/tex-buf.el,
David Kastrup <=