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
387f203c
Commit
387f203c
authored
Mar 31, 1995
by
Richard M. Stallman
Browse files
(rmail-summary-toggle-header): Make header visible in message buffer.
parent
c422836d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
lisp/mail/rmailsum.el
lisp/mail/rmailsum.el
+13
-1
No files found.
lisp/mail/rmailsum.el
View file @
387f203c
...
...
@@ -1155,7 +1155,19 @@ Interactively, empty argument means use same regexp used last time."
(
interactive
)
(
save-excursion
(
set-buffer
rmail-buffer
)
(
rmail-toggle-header
)))
(
rmail-toggle-header
))
;; Inside save-excursion, some changes to point in the RMAIL buffer are lost.
;; Set point to point-min in the RMAIL buffer, if it is visible.
(
let
((
window
(
get-buffer-window
rmail-buffer
)))
(
if
window
;; Using save-window-excursion would lose the new value of point.
(
let
((
owin
(
selected-window
)))
(
unwind-protect
(
progn
(
select-window
window
)
(
goto-char
(
point-min
)))
(
select-window
owin
))))))
(
defun
rmail-summary-add-label
(
label
)
"Add LABEL to labels associated with current Rmail message.
...
...
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