* pgg.el (pgg-temp-buffer-show-function): Don't check if the
authorueno <ueno>
Wed, 2 Feb 2000 12:42:48 +0000 (12:42 +0000)
committerueno <ueno>
Wed, 2 Feb 2000 12:42:48 +0000 (12:42 +0000)
selected window is the only window.

ChangeLog
pgg.el

index 9407c8a..cd1d9e6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-02-02   Daiki Ueno  <ueno@ueda.info.waseda.ac.jp>
+
+       * pgg.el (pgg-temp-buffer-show-function): Don't check if the
+       selected window is the only window.
+
 2000-02-01   Daiki Ueno  <ueno@ueda.info.waseda.ac.jp>
 
        * semi-def.el (mime-user-interface-product): Bump up to
diff --git a/pgg.el b/pgg.el
index 06b4375..cae8e27 100644 (file)
--- a/pgg.el
+++ b/pgg.el
@@ -167,12 +167,10 @@ and END to the keyring.")
        ,@body)))
 
 (defun pgg-temp-buffer-show-function (buffer)
-  (if (one-window-p (selected-window))
-      (let ((window (split-window-vertically
-                    (- (window-height) 
-                       (/ (window-height) 5)))))
-       (set-window-buffer window buffer))
-    (display-buffer buffer)))
+  (let ((window (split-window-vertically
+                (- (window-height) 
+                   (/ (window-height) 5)))))
+    (set-window-buffer window buffer)))
 
 (defun pgg-display-output-buffer (start end status)
   (if status