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
3f4e31a2
Commit
3f4e31a2
authored
Jul 30, 1994
by
Richard M. Stallman
Browse files
(rmail-new-summary): If just one window,
put the summary in the upper window and Rmail buffer below.
parent
a2e667ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
lisp/mail/rmailsum.el
lisp/mail/rmailsum.el
+11
-1
No files found.
lisp/mail/rmailsum.el
View file @
3f4e31a2
...
...
@@ -198,7 +198,17 @@ nil for FUNCTION means all messages."
(
setq
rmail-summary-buffer
sumbuf
))
;; Now display the summary buffer and go to the right place in it.
(
or
was-in-summary
(
pop-to-buffer
sumbuf
))
(
if
(
one-window-p
)
;; If there is just one window, put the summary on the top.
(
progn
(
split-window
)
(
select-window
(
next-window
(
frame-first-window
)))
(
pop-to-buffer
sumbuf
)
;; If pop-to-buffer did not use that window, delete that
;; window. (This can happen if it uses another frame.)
(
if
(
not
(
eq
sumbuf
(
window-buffer
(
frame-first-window
))))
(
delete-other-windows
)))
(
pop-to-buffer
sumbuf
)))
(
rmail-summary-goto-msg
mesg
t
t
)
(
message
"Computing summary lines...done"
)))
...
...
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