diff options
| author | Glenn Morris | 2010-11-02 20:25:23 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-11-02 20:25:23 -0700 |
| commit | 73ab9865e6c50586fcfced729824b3aabd03bbae (patch) | |
| tree | 48c5e94d004f6edc54a4db7febf1ad84510b8174 | |
| parent | 3225dcaadb08bd53744fb3e34cbf692e4cb22e62 (diff) | |
| download | emacs-73ab9865e6c50586fcfced729824b3aabd03bbae.tar.gz emacs-73ab9865e6c50586fcfced729824b3aabd03bbae.zip | |
Silence compilation of nndiary.el.
* lisp/gnus/nndiary.el (nndiary-generate-nov-databases-1)
(nndiary-generate-active-info): Rename dynamic variable `files' to
something less generic.
| -rw-r--r-- | lisp/gnus/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/gnus/nndiary.el | 12 |
2 files changed, 14 insertions, 8 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 0f64afdc323..43ec85c8879 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,11 +1,17 @@ | |||
| 1 | 2010-11-03 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * nndiary.el (nndiary-generate-nov-databases-1) | ||
| 4 | (nndiary-generate-active-info): Rename dynamic variable `files' to | ||
| 5 | something less generic. | ||
| 6 | |||
| 1 | 2010-11-03 Andrew Cohen <cohen@andy.bu.edu> | 7 | 2010-11-03 Andrew Cohen <cohen@andy.bu.edu> |
| 2 | 8 | ||
| 3 | * nnir.el (nnir-request-move-article): call the underlying backend to | 9 | * nnir.el (nnir-request-move-article): Call the underlying backend to |
| 4 | move articles from nnir. | 10 | move articles from nnir. |
| 5 | 11 | ||
| 6 | 2010-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org> | 12 | 2010-11-02 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 7 | 13 | ||
| 8 | * gnus-cite.el (gnus-article-natural-long-line-p): Removed. | 14 | * gnus-cite.el (gnus-article-natural-long-line-p): Remove. |
| 9 | 15 | ||
| 10 | 2010-11-02 Julien Danjou <julien@danjou.info> | 16 | 2010-11-02 Julien Danjou <julien@danjou.info> |
| 11 | 17 | ||
diff --git a/lisp/gnus/nndiary.el b/lisp/gnus/nndiary.el index 7235e4b0332..e634b9cada3 100644 --- a/lisp/gnus/nndiary.el +++ b/lisp/gnus/nndiary.el | |||
| @@ -1061,9 +1061,9 @@ all. This may very well take some time.") | |||
| 1061 | (file-directory-p dir)) | 1061 | (file-directory-p dir)) |
| 1062 | (nndiary-generate-nov-databases-1 dir seen)))) | 1062 | (nndiary-generate-nov-databases-1 dir seen)))) |
| 1063 | ;; Do this directory. | 1063 | ;; Do this directory. |
| 1064 | (let ((files (sort (nnheader-article-to-file-alist dir) | 1064 | (let ((nndiary-files (sort (nnheader-article-to-file-alist dir) |
| 1065 | 'car-less-than-car))) | 1065 | 'car-less-than-car))) |
| 1066 | (if (not files) | 1066 | (if (not nndiary-files) |
| 1067 | (let* ((group (nnheader-file-to-group | 1067 | (let* ((group (nnheader-file-to-group |
| 1068 | (directory-file-name dir) nndiary-directory)) | 1068 | (directory-file-name dir) nndiary-directory)) |
| 1069 | (info (cadr (assoc group nndiary-group-alist)))) | 1069 | (info (cadr (assoc group nndiary-group-alist)))) |
| @@ -1071,11 +1071,11 @@ all. This may very well take some time.") | |||
| 1071 | (setcar info (1+ (cdr info))))) | 1071 | (setcar info (1+ (cdr info))))) |
| 1072 | (funcall nndiary-generate-active-function dir) | 1072 | (funcall nndiary-generate-active-function dir) |
| 1073 | ;; Generate the nov file. | 1073 | ;; Generate the nov file. |
| 1074 | (nndiary-generate-nov-file dir files) | 1074 | (nndiary-generate-nov-file dir nndiary-files) |
| 1075 | (unless no-active | 1075 | (unless no-active |
| 1076 | (nnmail-save-active nndiary-group-alist nndiary-active-file)))))) | 1076 | (nnmail-save-active nndiary-group-alist nndiary-active-file)))))) |
| 1077 | 1077 | ||
| 1078 | (defvar files) | 1078 | (defvar nndiary-files) ; dynamically bound in nndiary-generate-nov-databases-1 |
| 1079 | (defun nndiary-generate-active-info (dir) | 1079 | (defun nndiary-generate-active-info (dir) |
| 1080 | ;; Update the active info for this group. | 1080 | ;; Update the active info for this group. |
| 1081 | (let* ((group (nnheader-file-to-group | 1081 | (let* ((group (nnheader-file-to-group |
| @@ -1084,9 +1084,9 @@ all. This may very well take some time.") | |||
| 1084 | (last (or (caadr entry) 0))) | 1084 | (last (or (caadr entry) 0))) |
| 1085 | (setq nndiary-group-alist (delq entry nndiary-group-alist)) | 1085 | (setq nndiary-group-alist (delq entry nndiary-group-alist)) |
| 1086 | (push (list group | 1086 | (push (list group |
| 1087 | (cons (or (caar files) (1+ last)) | 1087 | (cons (or (caar nndiary-files) (1+ last)) |
| 1088 | (max last | 1088 | (max last |
| 1089 | (or (caar (last files)) | 1089 | (or (caar (last nndiary-files)) |
| 1090 | 0)))) | 1090 | 0)))) |
| 1091 | nndiary-group-alist))) | 1091 | nndiary-group-alist))) |
| 1092 | 1092 | ||