aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2007-06-14 00:07:15 +0000
committerJuanma Barranquero2007-06-14 00:07:15 +0000
commitccb13f4de6e04f832c88a29b225d352a2c65679b (patch)
tree770b61e0e09cba74d7e26e3ed75a49412f05bfc1
parent09c013efcb4897c7567828831ad47746cf6465a3 (diff)
downloademacs-ccb13f4de6e04f832c88a29b225d352a2c65679b.tar.gz
emacs-ccb13f4de6e04f832c88a29b225d352a2c65679b.zip
(pcomplete-restore-windows): Remove redundant check.
-rw-r--r--lisp/pcomplete.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/pcomplete.el b/lisp/pcomplete.el
index c1da9fb9132..efb5980766d 100644
--- a/lisp/pcomplete.el
+++ b/lisp/pcomplete.el
@@ -934,7 +934,7 @@ generate the completions list. This means that the hook
934 (if pcomplete-last-window-config 934 (if pcomplete-last-window-config
935 (let* ((cbuf (get-buffer "*Completions*")) 935 (let* ((cbuf (get-buffer "*Completions*"))
936 (cwin (and cbuf (get-buffer-window cbuf)))) 936 (cwin (and cbuf (get-buffer-window cbuf))))
937 (when (and cwin (window-live-p cwin)) 937 (when (window-live-p cwin)
938 (bury-buffer cbuf) 938 (bury-buffer cbuf)
939 (set-window-configuration pcomplete-last-window-config)))) 939 (set-window-configuration pcomplete-last-window-config))))
940 (setq pcomplete-last-window-config nil 940 (setq pcomplete-last-window-config nil