diff options
| -rw-r--r-- | lisp/gnus/gnus-start.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/gnus/gnus-start.el b/lisp/gnus/gnus-start.el index be0017e7f03..0520c2f59e9 100644 --- a/lisp/gnus/gnus-start.el +++ b/lisp/gnus/gnus-start.el | |||
| @@ -32,6 +32,7 @@ | |||
| 32 | (require 'gnus-range) | 32 | (require 'gnus-range) |
| 33 | (require 'gnus-util) | 33 | (require 'gnus-util) |
| 34 | (require 'message) | 34 | (require 'message) |
| 35 | (eval-when-compile (require 'cl)) | ||
| 35 | 36 | ||
| 36 | (defcustom gnus-startup-file (nnheader-concat gnus-home-directory ".newsrc") | 37 | (defcustom gnus-startup-file (nnheader-concat gnus-home-directory ".newsrc") |
| 37 | "Your `.newsrc' file. | 38 | "Your `.newsrc' file. |
| @@ -47,10 +48,11 @@ instead." | |||
| 47 | :type 'file) | 48 | :type 'file) |
| 48 | 49 | ||
| 49 | (defcustom gnus-site-init-file | 50 | (defcustom gnus-site-init-file |
| 50 | (ignore-errors | 51 | (condition-case nil |
| 51 | (concat (file-name-directory | 52 | (concat (file-name-directory |
| 52 | (directory-file-name installation-directory)) | 53 | (directory-file-name installation-directory)) |
| 53 | "site-lisp/gnus-init")) | 54 | "site-lisp/gnus-init") |
| 55 | (error nil)) | ||
| 54 | "The site-wide Gnus elisp startup file. | 56 | "The site-wide Gnus elisp startup file. |
| 55 | If a file with the .el or .elc suffixes exist, it will be read | 57 | If a file with the .el or .elc suffixes exist, it will be read |
| 56 | instead." | 58 | instead." |