Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8c9fc4be
Commit
8c9fc4be
authored
Jun 25, 2006
by
Kim F. Storm
Browse files
(view-emacs-news): Declare `res' in the right let* form.
parent
02bc285c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lisp/help.el
lisp/help.el
+3
-3
No files found.
lisp/help.el
View file @
8c9fc4be
...
...
@@ -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
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment