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 mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to