Sanitize buffer display handling in simple.el.
commit6dfa590e80e57579bdea8575c17ef631bbb9ffb5
authorMartin Rudalics <rudalics@gmx.at>
Tue, 11 Jan 2011 17:02:28 +0000 (11 18:02 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Tue, 11 Jan 2011 17:02:28 +0000 (11 18:02 +0100)
treeaf29143c5ac7c619011e7ec6dbcdcfba7a459f0c
parentdaf2586e5ea6a41fd5529b05376d1ecb4e29af97
Sanitize buffer display handling in simple.el.

* simple.el (goto-line, compose-mail-other-window): Replace
switch-to-buffer-other-window by pop-to-buffer-other-window.
(pop-global-mark): Use pop-to-buffer-same-window instead of
switch-to-buffer.
(compose-mail-other-frame): Use pop-to-buffer-other-frame
instead of switch-to-buffer-other-frame.
(special-mode-map): Bind "q" to quit-restore-window instead of
quit-window.
lisp/ChangeLog
lisp/simple.el