How to make the emacs not to pop up a window when using tab-completion?
- by Jinx
When I use the emacs shell mode or in gdb, when I type double tab, the emacs pop up a new window which always cover an existed window. While in terminal, when I type double tab, to complete a directory, the terminal just print all the candidates in the same window. Can I make the emacs not to pop up a new window when I use this feature?
edit this is I wanna do , but it's wrong, can somebody fix this?
;remove annoying poped-up windows
(defun rm-popup-window ()
(other-window)
(kill-this-buffer)
(other-window)
)
(global-set-key [C-'] 'rm-popup-window);