diff lisp/help.el @ 239:41f2f0e326e9 r20-5b18

Import from CVS: tag r20-5b18
author cvs
date Mon, 13 Aug 2007 10:15:48 +0200
parents 52952cbfc5b5
children f220cc83d72e
line wrap: on
line diff
--- a/lisp/help.el	Mon Aug 13 10:15:04 2007 +0200
+++ b/lisp/help.el	Mon Aug 13 10:15:48 2007 +0200
@@ -87,10 +87,12 @@
 ;;; For most people this key binding will work and will be equivalent
 ;;; to {C-h h}.
 ;;;
-(or (where-is-internal 'hyperbole)
-    (where-is-internal 'hui:menu)
-    (define-key help-map "h" 'hyperbole))
-(autoload 'hyperbole "hsite" "Hyperbole info manager menus." t)
+(when (featurep 'infodock) ; This isn't used in XEmacs
+  ;; #### This needs fixing for InfoDock 4.0.
+  (or (where-is-internal 'hyperbole)
+      (where-is-internal 'hui:menu)
+      (define-key help-map "h" 'hyperbole))
+  (autoload 'hyperbole "hsite" "Hyperbole info manager menus." t))
 
 (define-key help-map "i" 'info)
 (define-key help-map '(control i) 'Info-query)
@@ -108,8 +110,10 @@
 (define-key help-map "n" 'view-emacs-news)
 
 (define-key help-map "p" 'finder-by-keyword)
-(autoload 'finder-by-keyword "finder"
-  "Find packages matching a given keyword." t)
+
+;; Do this right with an autoload cookie in finder.el.
+;;(autoload 'finder-by-keyword "finder"
+;;  "Find packages matching a given keyword." t)
 
 (define-key help-map "s" 'describe-syntax)