]> git.eshelyaron.com Git - emacs.git/commitdiff
Ensure point at beginning of source help buffer, so class/tag finding works.
authorJ.D. Smith <jdsmith@as.arizona.edu>
Thu, 20 Apr 2006 19:45:16 +0000 (19:45 +0000)
committerJ.D. Smith <jdsmith@as.arizona.edu>
Thu, 20 Apr 2006 19:45:16 +0000 (19:45 +0000)
lisp/progmodes/idlw-help.el

index c2fc13cf50546a174dea1434b31f27726cbe68cc..e5726312623734a81d3b8e9d971c99e7f24e2091 100644 (file)
@@ -864,6 +864,7 @@ This function can be used as `idlwave-extra-help-function'."
                  (erase-buffer)
                  (insert-file-contents file nil nil nil 'replace))
              (idlwave-help-error name type class keyword)))
+         (goto-char (point-min))
          (if (and idlwave-help-fontify-source-code (not in-buf))
              (idlwave-help-fontify)))
       (idlwave-help-error name type class keyword))