diff options
| author | Katsumi Yamaoka | 2012-05-25 06:43:29 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2012-05-25 06:43:29 +0000 |
| commit | ec9d4b084a0057c0db31fb89d34b91b3d90c671e (patch) | |
| tree | fa08a555b13aeb2d9b282bbe168ef5dc2819944d | |
| parent | bc1b21bb4e3594708570a1f503f69b8acc1e6814 (diff) | |
| download | emacs-ec9d4b084a0057c0db31fb89d34b91b3d90c671e.tar.gz emacs-ec9d4b084a0057c0db31fb89d34b91b3d90c671e.zip | |
nnspool.el (news-path): Use eval-and-compile
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/nnspool.el | 11 |
2 files changed, 10 insertions, 5 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index e096b9b2b26..c917e81a175 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-05-25 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * nnspool.el (news-path): Use eval-and-compile. | ||
| 4 | |||
| 1 | 2012-05-24 Glenn Morris <rgm@gnu.org> | 5 | 2012-05-24 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * nnspool.el (news-directory, news-path, news-inews-program): | 7 | * nnspool.el (news-directory, news-path, news-inews-program): |
diff --git a/lisp/gnus/nnspool.el b/lisp/gnus/nnspool.el index fd079d909eb..ad9e9c62d6d 100644 --- a/lisp/gnus/nnspool.el +++ b/lisp/gnus/nnspool.el | |||
| @@ -34,11 +34,12 @@ | |||
| 34 | ;; Probably this entire thing should be obsolete. | 34 | ;; Probably this entire thing should be obsolete. |
| 35 | ;; It's only used to init nnspool-spool-directory, so why not just | 35 | ;; It's only used to init nnspool-spool-directory, so why not just |
| 36 | ;; set that variable's default directly? | 36 | ;; set that variable's default directly? |
| 37 | (defvar news-directory (if (file-exists-p "/usr/spool/news/") | 37 | (eval-and-compile |
| 38 | "/usr/spool/news/" | 38 | (defvar news-directory (if (file-exists-p "/usr/spool/news/") |
| 39 | "/var/spool/news/") | 39 | "/usr/spool/news/" |
| 40 | "The root directory below which all news files are stored.") | 40 | "/var/spool/news/") |
| 41 | (defvaralias 'news-path 'news-directory) | 41 | "The root directory below which all news files are stored.") |
| 42 | (defvaralias 'news-path 'news-directory)) | ||
| 42 | 43 | ||
| 43 | ;; Ditto re obsolescence. | 44 | ;; Ditto re obsolescence. |
| 44 | (defvar news-inews-program | 45 | (defvar news-inews-program |