]> git.eshelyaron.com Git - emacs.git/commitdiff
(select-tags-table-quit): Use quit-window.
authorRichard M. Stallman <rms@gnu.org>
Sun, 8 Mar 1998 00:22:03 +0000 (00:22 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 8 Mar 1998 00:22:03 +0000 (00:22 +0000)
lisp/progmodes/etags.el

index 237521ad4a0bcacac60116c774e2c13d2f381e75..31a8158e3a6ea7926c0001f34624c8b6e4e2f317 100644 (file)
@@ -1650,9 +1650,7 @@ see the doc of that variable if you want to add names to the list."
 (defun select-tags-table-quit ()
   "Kill the buffer and delete the selected window."
   (interactive)
-  (kill-buffer (current-buffer))
-  (or (one-window-p)
-      (delete-window)))
+  (quit-window t (selected-window)))
 \f
 ;;; Note, there is another definition of this function in bindings.el.
 ;;;###autoload