From: J.D. Smith Date: Thu, 20 Apr 2006 19:45:16 +0000 (+0000) Subject: Ensure point at beginning of source help buffer, so class/tag finding works. X-Git-Tag: emacs-pretest-22.0.90~3031 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5a02d811ed1b04c4f877e1bfd8607750dc02cf22;p=emacs.git Ensure point at beginning of source help buffer, so class/tag finding works. --- diff --git a/lisp/progmodes/idlw-help.el b/lisp/progmodes/idlw-help.el index c2fc13cf505..e5726312623 100644 --- a/lisp/progmodes/idlw-help.el +++ b/lisp/progmodes/idlw-help.el @@ -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))