projects
/
elisp
/
semi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80db5c5
)
(mime-view-caesar): Select window which displays current-buffer if it
author
morioka
<morioka>
Tue, 26 Jan 1999 13:41:53 +0000
(13:41 +0000)
committer
morioka
<morioka>
Tue, 26 Jan 1999 13:41:53 +0000
(13:41 +0000)
is not selected <to fix problem with mouse operations>.
mime-play.el
patch
|
blob
|
history
diff --git
a/mime-play.el
b/mime-play.el
index
66e38f3
..
6c00a38
100644
(file)
--- a/
mime-play.el
+++ b/
mime-play.el
@@
-670,7
+670,12
@@
It is registered to variable `mime-preview-quitting-method-alist'."
(mule-caesar-region (point-min) (point-max))
(set-buffer-modified-p nil)
)
+ (let ((win (get-buffer-window (current-buffer))))
+ (or (eq (selected-window) win)
+ (select-window (or win (get-largest-window)))
+ ))
(view-buffer buf)
+ (goto-char (point-min))
))