comparison lisp/help.el @ 878:5b1c5b4286e7

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Mon, 27 Jul 1992 02:56:28 +0000
parents 20674ae6bf52
children d09aafad0e95
comparison
equal deleted inserted replaced
877:e0dde8b90613 878:5b1c5b4286e7
302 ((eq (car-safe def) 'macro) 302 ((eq (car-safe def) 'macro)
303 "a Lisp macro.") 303 "a Lisp macro.")
304 ((eq (car-safe def) 'mocklisp) 304 ((eq (car-safe def) 'mocklisp)
305 "a mocklisp function.") 305 "a mocklisp function.")
306 ((eq (car-safe def) 'autoload) 306 ((eq (car-safe def) 'autoload)
307 (format "%sLisp %s to autoload from `%s'." 307 (format "%sautoloaded Lisp %s."
308 beg 308 beg
309 (if (nth 4 def) "macro" "function") 309 (if (nth 4 def) "macro" "function")
310 (nth 1 def))) 310 ;;; Including the file name made this line too long.
311 ;;; (nth 1 def)
312 ))
311 (t ""))) 313 (t "")))
312 (terpri)) 314 (terpri))
313 (if (documentation function) 315 (if (documentation function)
314 (princ (documentation function)) 316 (princ (documentation function))
315 (princ "not documented")) 317 (princ "not documented"))
363 documentation found." 365 documentation found."
364 (interactive "sCommand apropos (regexp): ") 366 (interactive "sCommand apropos (regexp): ")
365 (let ((message 367 (let ((message
366 (let ((standard-output (get-buffer-create "*Help*"))) 368 (let ((standard-output (get-buffer-create "*Help*")))
367 (print-help-return-message 'identity)))) 369 (print-help-return-message 'identity))))
368 (apropos string 'commandp) 370 (apropos string t 'commandp)
369 (and message (message message)))) 371 (and message (message message))))
370 372
371 (defun locate-library (library &optional nosuffix) 373 (defun locate-library (library &optional nosuffix)
372 "Show the full path name of Emacs library LIBRARY. 374 "Show the full path name of Emacs library LIBRARY.
373 This command searches the directories in `load-path' like `M-x load-library' 375 This command searches the directories in `load-path' like `M-x load-library'