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
761231d1
Commit
761231d1
authored
Dec 29, 2012
by
Damien Cassou
Committed by
Chong Yidong
Dec 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* info.el (info-other-window): New arg, for consistency with info.
parent
bf48a715
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
lisp/ChangeLog
lisp/ChangeLog
+4
-0
lisp/info.el
lisp/info.el
+11
-6
No files found.
lisp/ChangeLog
View file @
761231d1
2012-12-29 Damien Cassou <damien.cassou@gmail.com>
* info.el (info-other-window):
2012-12-28 Martin Rudalics <rudalics@gmx.at>
* mail/rmail.el (rmail-maybe-display-summary): Rewrite
...
...
lisp/info.el
View file @
761231d1
...
...
@@ -746,11 +746,15 @@ in `Info-file-supports-index-cookies-list'."
(push dir Info-directory-list)))))))
;;;###autoload
(
defun
info-other-window
(
&optional
file-or-node
)
(defun info-other-window (&optional file-or-node
buffer
)
"Like `info' but show the Info buffer in another window."
(
interactive
(
if
current-prefix-arg
(
list
(
read-file-name
"Info file name: "
nil
nil
t
))))
(
info-setup
file-or-node
(
switch-to-buffer-other-window
"*info*"
)))
(interactive (list
(if (and current-prefix-arg (not (numberp current-prefix-arg)))
(read-file-name "Info file name: " nil nil t))
(if (numberp current-prefix-arg)
(format "*info*<%s>" current-prefix-arg))))
(info-setup file-or-node
(switch-to-buffer-other-window (or buffer "*info*"))))
;;;###autoload (put 'info 'info-file (purecopy "emacs"))
;;;###autoload
...
...
@@ -767,8 +771,9 @@ with the top-level Info directory.
In interactive use, a non-numeric prefix argument directs
this command to read a file name from the minibuffer.
A numeric prefix argument selects an Info buffer with the prefix number
appended to the Info buffer name.
A numeric prefix argument N selects an Info buffer named
\"*info*<%s>\".
The search path for Info files is in the variable `Info-directory-list'.
The top-level Info directory is made by combining all the files named `dir'
...
...
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