diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/progmodes/etags.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 237521ad4a0..31a8158e3a6 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -1650,9 +1650,7 @@ see the doc of that variable if you want to add names to the list." | |||
| 1650 | (defun select-tags-table-quit () | 1650 | (defun select-tags-table-quit () |
| 1651 | "Kill the buffer and delete the selected window." | 1651 | "Kill the buffer and delete the selected window." |
| 1652 | (interactive) | 1652 | (interactive) |
| 1653 | (kill-buffer (current-buffer)) | 1653 | (quit-window t (selected-window))) |
| 1654 | (or (one-window-p) | ||
| 1655 | (delete-window))) | ||
| 1656 | 1654 | ||
| 1657 | ;;; Note, there is another definition of this function in bindings.el. | 1655 | ;;; Note, there is another definition of this function in bindings.el. |
| 1658 | ;;;###autoload | 1656 | ;;;###autoload |