Skip to content

Commit

Permalink
Require cl at compile time.
Browse files Browse the repository at this point in the history
(gnus-site-init-file): Use condition-case.
  • Loading branch information
Richard M. Stallman committed Aug 25, 1997
1 parent 2efa47d commit 4b6316a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lisp/gnus/gnus-start.el
Expand Up @@ -32,6 +32,7 @@
(require 'gnus-range)
(require 'gnus-util)
(require 'message)
(eval-when-compile (require 'cl))

(defcustom gnus-startup-file (nnheader-concat gnus-home-directory ".newsrc")
"Your `.newsrc' file.
Expand All @@ -47,10 +48,11 @@ instead."
:type 'file)

(defcustom gnus-site-init-file
(ignore-errors
(condition-case nil
(concat (file-name-directory
(directory-file-name installation-directory))
"site-lisp/gnus-init"))
"site-lisp/gnus-init")
(error nil))
"The site-wide Gnus elisp startup file.
If a file with the .el or .elc suffixes exist, it will be read
instead."
Expand Down

0 comments on commit 4b6316a

Please sign in to comment.