Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
60705054
Commit
60705054
authored
Apr 14, 2004
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(info): Always jump to *info*.
parent
c7f8d055
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
11 deletions
+9
-11
lisp/info.el
lisp/info.el
+9
-11
No files found.
lisp/info.el
View file @
60705054
...
...
@@ -470,18 +470,16 @@ The top-level Info directory is made by combining all the files named `dir'
in all the directories in that path."
(
interactive
(
if
current-prefix-arg
(
list
(
read-file-name
"Info file name: "
nil
nil
t
))))
(
pop-to-buffer
"*info*"
)
(
if
file
(
progn
(
pop-to-buffer
"*info*"
)
;; If argument already contains parentheses, don't add another set
;; since the argument will then be parsed improperly. This also
;; has the added benefit of allowing node names to be included
;; following the parenthesized filename.
(
if
(
and
(
stringp
file
)
(
string-match
"(.*)"
file
))
(
Info-goto-node
file
)
(
Info-goto-node
(
concat
"("
file
")"
))))
(
if
(
get-buffer
"*info*"
)
(
pop-to-buffer
"*info*"
)
;; If argument already contains parentheses, don't add another set
;; since the argument will then be parsed improperly. This also
;; has the added benefit of allowing node names to be included
;; following the parenthesized filename.
(
if
(
and
(
stringp
file
)
(
string-match
"(.*)"
file
))
(
Info-goto-node
file
)
(
Info-goto-node
(
concat
"("
file
")"
)))
(
if
(
zerop
(
buffer-size
))
(
Info-directory
))))
;;;###autoload
...
...
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