]> git.eshelyaron.com Git - emacs.git/commitdiff
(Info-build-node-completions): Signal error if tag-table marker is not
authorChong Yidong <cyd@stupidchicken.com>
Mon, 18 Dec 2006 05:16:48 +0000 (05:16 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Mon, 18 Dec 2006 05:16:48 +0000 (05:16 +0000)
found.

lisp/info.el

index 2318f3240dd563a276ad3fe0a51173b2c73cbca8..b2a67265dcacc9a7547527d99b52826a945352d9 100644 (file)
@@ -1551,6 +1551,8 @@ PATH-AND-SUFFIXES is a pair of lists, (DIRECTORIES . SUFFIXES)."
            (node-regexp "Node: *\\([^,\n]*\\) *[,\n\t]"))
        (save-excursion
          (save-restriction
+           (or Info-tag-table-marker
+               (error "No Info tags found"))
            (if (marker-buffer Info-tag-table-marker)
                (let ((marker Info-tag-table-marker))
                  (set-buffer (marker-buffer marker))