changeset 70137:49dd98fd173c

Ensure point at beginning of source help buffer, so class/tag finding works.
author J.D. Smith <jdsmith@as.arizona.edu>
date Thu, 20 Apr 2006 19:45:16 +0000
parents 52f45f5f80a6
children a11cae0b1787
files lisp/progmodes/idlw-help.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/idlw-help.el	Thu Apr 20 12:17:26 2006 +0000
+++ b/lisp/progmodes/idlw-help.el	Thu Apr 20 19:45:16 2006 +0000
@@ -864,6 +864,7 @@
 		  (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))