diff options
| author | Glenn Morris | 2008-03-05 03:56:36 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-03-05 03:56:36 +0000 |
| commit | c1717fbdfca5f6fe01d2ab095ba306afcaef10a5 (patch) | |
| tree | 2d0f5f114f784097785fe95c47f06de43f9fdd8c | |
| parent | ff72fb9cab4a6433aeab02f9df617c1c37789ac5 (diff) | |
| download | emacs-c1717fbdfca5f6fe01d2ab095ba306afcaef10a5.tar.gz emacs-c1717fbdfca5f6fe01d2ab095ba306afcaef10a5.zip | |
(gnus-article-mode-line-format-alist): Move here from gnus-art.
(top-level): No need to load own source when compiling.
| -rw-r--r-- | lisp/gnus/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 17 |
2 files changed, 13 insertions, 11 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index e68544a96f9..16647a5b10f 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2008-03-05 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * gnus-art.el (gnus-article-mode-line-format-alist): Move to gnus-sum. | ||
| 4 | * gnus-sum.el (gnus-article-mode-line-format-alist): Move here from | ||
| 5 | gnus-art. | ||
| 6 | (top-level): No need to load own source when compiling. | ||
| 7 | |||
| 1 | 2008-03-04 Glenn Morris <rgm@gnu.org> | 8 | 2008-03-04 Glenn Morris <rgm@gnu.org> |
| 2 | 9 | ||
| 3 | * gnus-sum.el (top-level): No need to require gnus when compiling, | 10 | * gnus-sum.el (top-level): No need to require gnus when compiling, |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index f4dc4ea43cd..ce22d171686 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -1372,6 +1372,12 @@ the type of the variable (string, integer, character, etc).") | |||
| 1372 | (?E gnus-newsgroup-expunged-tally ?d) | 1372 | (?E gnus-newsgroup-expunged-tally ?d) |
| 1373 | (?s (gnus-current-score-file-nondirectory) ?s))) | 1373 | (?s (gnus-current-score-file-nondirectory) ?s))) |
| 1374 | 1374 | ||
| 1375 | ;; This is here rather than in gnus-art for compilation reasons. | ||
| 1376 | (defvar gnus-article-mode-line-format-alist | ||
| 1377 | (nconc '((?w (gnus-article-wash-status) ?s) | ||
| 1378 | (?m (gnus-article-mime-part-status) ?s)) | ||
| 1379 | gnus-summary-mode-line-format-alist)) | ||
| 1380 | |||
| 1375 | (defvar gnus-last-search-regexp nil | 1381 | (defvar gnus-last-search-regexp nil |
| 1376 | "Default regexp for article search command.") | 1382 | "Default regexp for article search command.") |
| 1377 | 1383 | ||
| @@ -1563,21 +1569,10 @@ For example: | |||
| 1563 | \"^From:\\\\|^Newsgroups:\\\\|^Subject:\\\\|^Date:\\\\|^To:\"))) | 1569 | \"^From:\\\\|^Newsgroups:\\\\|^Subject:\\\\|^Date:\\\\|^To:\"))) |
| 1564 | ") | 1570 | ") |
| 1565 | 1571 | ||
| 1566 | ;; Byte-compiler warning. Specifically, this is responsible for: | ||
| 1567 | ;; "Warning: the following functions might not be defined at runtime: | ||
| 1568 | ;; gnus-build-sparse-threads, gnus-dead-summary-mode, gnus-summary-mark-below". | ||
| 1569 | (eval-when-compile | 1572 | (eval-when-compile |
| 1570 | ;; Bind features so that require will believe that gnus-sum has | 1573 | ;; Bind features so that require will believe that gnus-sum has |
| 1571 | ;; already been loaded (avoids infinite recursion) | 1574 | ;; already been loaded (avoids infinite recursion) |
| 1572 | (let ((features (cons 'gnus-sum features))) | 1575 | (let ((features (cons 'gnus-sum features))) |
| 1573 | ;; Several of the declarations in gnus-sum are needed to load the | ||
| 1574 | ;; following files. Right now, these definitions have been | ||
| 1575 | ;; compiled but not defined (evaluated). We could either do a | ||
| 1576 | ;; eval-and-compile about all of the declarations or evaluate the | ||
| 1577 | ;; source file. | ||
| 1578 | (if (boundp 'gnus-newsgroup-variables) | ||
| 1579 | nil | ||
| 1580 | (load "gnus-sum.el" t t t)) | ||
| 1581 | (require 'gnus-art))) | 1576 | (require 'gnus-art))) |
| 1582 | 1577 | ||
| 1583 | ;; MIME stuff. | 1578 | ;; MIME stuff. |