]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/window.el (switch-to-buffer): Use `force-same-window' interactively.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 2 Nov 2011 12:56:48 +0000 (08:56 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 2 Nov 2011 12:56:48 +0000 (08:56 -0400)
lisp/ChangeLog
lisp/window.el

index a009352e46eff65dd4a3b9d5cbb05f943564b301..a94987284de9b932f28c1f6eed8fd44cadf6ab32 100644 (file)
@@ -1,9 +1,12 @@
+2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * window.el (switch-to-buffer): Use `force-same-window' interactively.
+
 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
 
        * window.el (quit-window): Call unrecord-window-buffer after
        showing another buffer in the window.  (Bug#9937)
-       (bury-buffer): Call switch-to-prev-buffer with second argument
-       'bury.
+       (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
 
 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
 
@@ -38,8 +41,8 @@
 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
 
        * window.el (window-iso-combination-p, window-iso-combined-p)
-       (window-iso-combinations): Remove "iso-" infix.  Suggested by
-       Chong Yidong.
+       (window-iso-combinations): Remove "iso-" infix.
+       Suggested by Chong Yidong.
        (window-min-size-1, window-size-fixed-1, window-min-delta-1)
        (window-max-delta-1, window-resize, window--resize-siblings)
        (window--resize-this-window, adjust-window-trailing-edge)
        Prevent "class foo : bar" being spuriously recognized as a label.
 
        * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
-       Add parameter `inclusive' (to include enclosing braces in the
-       region).
+       Add parameter `inclusive' (to include enclosing braces in the region).
        (c-widen-to-enclosing-decl-scope): New function.
        (c-while-widening-to-decl-block): New macro.
        (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
        * progmodes/cc-defs.el: Update "virtual semicolon" comments.
 
        * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
-       Recoded to scan one line at at time rather than having \n and \r
+       Recode to scan one line at at time rather than having \n and \r
        explicitly in c-stmt-delim-chars
        (for some modes, e.g. AWK).
        (c-forward-label): Amend for virtual semicolons.
        of the new C macros.
 
        * progmodes/cc-langs.el (c-at-vsemi-p-fn):
-       (c-vsemi-status-unknown-p-fn): move to earlier in the file.
-       (c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables.
+       (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
+       (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
        (c-opt-cpp-macro-define): Make into a full language variable.
        (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
        AWK Mode (including \n, \r) removed, no longer needed.
 
 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
 
-       * term/w32-win.el (w32-default-color-map): Declare obsolete.  (Bug#9785)
+       * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
 
 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
 
 
 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
 
-       * progmodes/octave-inf.el (inferior-octave-mode-map): Fix C-c C-h binding.
+       * progmodes/octave-inf.el (inferior-octave-mode-map):
+       Fix C-c C-h binding.
        * progmodes/octave-mod.el (octave-help): Remove.
 
 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
index d93658a2cef79c7f1bdfa344182f04a0e2cd3846..9b12c204d48b447e497409b73dec528804b19078 100644 (file)
@@ -5024,7 +5024,7 @@ nil, BUFFER-OR-NAME may be displayed in another window.
 
 Return the buffer switched to."
   (interactive
-   (list (read-buffer-to-switch "Switch to buffer: ") nil nil))
+   (list (read-buffer-to-switch "Switch to buffer: ") nil 'force-same-window))
   (let ((buffer (window-normalize-buffer-to-switch-to buffer-or-name)))
     (if (null force-same-window)
        (pop-to-buffer buffer display-buffer--same-window-action norecord)