]> code.delx.au - gnu-emacs/blobdiff - lisp/info-look.el
Fix byte-compiler warnings about looking-back.
[gnu-emacs] / lisp / info-look.el
index 9cf185edf573d70e0ed3e7635da28dd4639b1f32..8a86dc816870c41838701d6b638cafc968f38202 100644 (file)
@@ -634,7 +634,8 @@ Return nil if there is nothing appropriate in the buffer near point."
                     (setq end (point))
                     (> end beg))
                (and (looking-at "[ \t\n]")
-                    (looking-back (concat "[" significant-chars "]"))
+                    (looking-back (concat "[" significant-chars "]")
+                                   (1- (point)))
                     (setq end (point))
                     (skip-chars-backward significant-chars)
                     (setq beg (point))