summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-07-13 18:00:48 -0400
committerChong Yidong <cyd@stupidchicken.com>2011-07-13 18:00:48 -0400
commitbee0fcef3d9c332b9907369b4e6f6f61d6fbdf35 (patch)
treef99c4d0a39a961e9f281c1825c43810d89157797 /lisp/emacs-lisp/bytecomp.el
parent0f04b32ce1d0f6f6e94b77931122acf3da3b3680 (diff)
downloademacs-bee0fcef3d9c332b9907369b4e6f6f61d6fbdf35.tar.gz
Add FORCE-SAME-WINDOW argument to switch-to-buffer.
* lisp/window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW. Use pop-to-buffer buffer-or-name if it is nil. * lisp/emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions): Remove switch-to-buffer.
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r--lisp/emacs-lisp/bytecomp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index 223e9667ac3..127f93c6858 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -355,7 +355,7 @@ else the global value will be modified."
(defvar byte-compile-interactive-only-functions
'(beginning-of-buffer end-of-buffer replace-string replace-regexp
insert-file insert-buffer insert-file-literally previous-line next-line
- goto-line comint-run delete-backward-char switch-to-buffer)
+ goto-line comint-run delete-backward-char)
"List of commands that are not meant to be called from Lisp.")
(defvar byte-compile-not-obsolete-vars nil