changeset 25846:3c430bda7857

Require view when compiling. (view-emacs-FAQ): Use Info version.
author Dave Love <fx@gnu.org>
date Fri, 01 Oct 1999 17:16:48 +0000
parents 96f905455060
children f54121af02c8
files lisp/help.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/help.el	Fri Oct 01 14:37:36 1999 +0000
+++ b/lisp/help.el	Fri Oct 01 17:16:48 1999 +0000
@@ -32,6 +32,7 @@
 ;; Get the macro make-help-screen when this is compiled,
 ;; or run interpreted, but not when the compiled code is loaded.
 (eval-when-compile (require 'help-macro))
+(eval-when-compile (require 'view))
 
 (defvar help-map (make-sparse-keymap)
   "Keymap for characters following the Help key.")
@@ -452,7 +453,8 @@
 (defun view-emacs-FAQ ()
   "Display the Emacs Frequently Asked Questions (FAQ) file."
   (interactive)
-  (find-file-read-only (expand-file-name "FAQ" data-directory)))
+;;;  (find-file-read-only (expand-file-name "FAQ" data-directory))
+  (info "(emacs-faq)"))
 
 (defun view-lossage ()
   "Display last 100 input keystrokes."