From 8c9fc4be24f3a089aa4c101145a72eb63e2e56dc Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Sun, 25 Jun 2006 22:41:40 +0000 Subject: [PATCH] (view-emacs-news): Declare `res' in the right let* form. --- lisp/help.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/help.el b/lisp/help.el index 0caf018c2e9..4d92f69cebd 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -346,8 +346,7 @@ With argument, display info only for the selected version." (directory-files data-directory nil "^NEWS\\.[0-9][-0-9]*$" nil))) (sort (delete-dups res) (lambda (a b) (string< b a))))) - (current (car all-versions)) - res) + (current (car all-versions))) (setq version (completing-read (format "Read NEWS for the version (default %s): " current) all-versions nil nil nil nil current)) @@ -369,7 +368,8 @@ With argument, display info only for the selected version." (file (cond ((>= vn emacs-major-version) "NEWS") ((< vn 18) "NEWS.1-17") - (t (format "NEWS.%d" vn))))) + (t (format "NEWS.%d" vn)))) + res) (view-file (expand-file-name file data-directory)) (widen) (goto-char (point-min)) -- 2.39.2