home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / help-lucid-emacs / text0023.txt < prev    next >
Encoding:
Text File  |  1993-07-14  |  721 b   |  19 lines

  1. Excerpt of message (sent 13 April 1993) by Andy Whitcroft:
  2.  
  3.   andy>   Is there any simple way to suppress all `message' output during a
  4.   andy>   load of a lisp file.  I am loading pending delete and under the new
  5.   andy>   version for 19.6 it now is verbose.  There is no way to do this in
  6.   andy>   the pending delete code (beyond modifying it).  I therfore wonder if
  7.   andy>   it is possible to suppress all messages for a particular (load ...)?
  8.  
  9. I wrote myself the following little utility to do just that :
  10.  
  11. ;; Quiet library load utility
  12. (defun load-quietly (file &optional directory)
  13.   "Loads a lisp FILE found in (optional) DIRECTORY without broadcast."
  14.   (load (concat directory file) nil t))
  15.  
  16. --
  17. Regards, David
  18.  
  19.