aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Verona2011-11-03 12:32:43 +0100
committerJoakim Verona2011-11-03 12:32:43 +0100
commitb534f59a2031d479d46acda261a95f36c76ba58f (patch)
treeeacbb3d973166ffaf1cdc18fbdd03b9ab4250493
parent67be5954c049eaa6a5f2ff39e4ec178b339f33cd (diff)
parent5bb8ec778bd4e9a942411031b9ebc0105e981009 (diff)
downloademacs-b534f59a2031d479d46acda261a95f36c76ba58f.tar.gz
emacs-b534f59a2031d479d46acda261a95f36c76ba58f.zip
upstream
-rw-r--r--lisp/ChangeLog25
-rw-r--r--lisp/gnus/ChangeLog5
-rw-r--r--lisp/gnus/gnus-util.el3
-rw-r--r--lisp/window.el2
4 files changed, 22 insertions, 13 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index a009352e46e..a94987284de 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,9 +1,12 @@
12011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * window.el (switch-to-buffer): Use `force-same-window' interactively.
4
12011-11-02 Martin Rudalics <rudalics@gmx.at> 52011-11-02 Martin Rudalics <rudalics@gmx.at>
2 6
3 * window.el (quit-window): Call unrecord-window-buffer after 7 * window.el (quit-window): Call unrecord-window-buffer after
4 showing another buffer in the window. (Bug#9937) 8 showing another buffer in the window. (Bug#9937)
5 (bury-buffer): Call switch-to-prev-buffer with second argument 9 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
6 'bury.
7 10
82011-11-02 Juanma Barranquero <lekktu@gmail.com> 112011-11-02 Juanma Barranquero <lekktu@gmail.com>
9 12
@@ -38,8 +41,8 @@
382011-10-30 Martin Rudalics <rudalics@gmx.at> 412011-10-30 Martin Rudalics <rudalics@gmx.at>
39 42
40 * window.el (window-iso-combination-p, window-iso-combined-p) 43 * window.el (window-iso-combination-p, window-iso-combined-p)
41 (window-iso-combinations): Remove "iso-" infix. Suggested by 44 (window-iso-combinations): Remove "iso-" infix.
42 Chong Yidong. 45 Suggested by Chong Yidong.
43 (window-min-size-1, window-size-fixed-1, window-min-delta-1) 46 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
44 (window-max-delta-1, window-resize, window--resize-siblings) 47 (window-max-delta-1, window-resize, window--resize-siblings)
45 (window--resize-this-window, adjust-window-trailing-edge) 48 (window--resize-this-window, adjust-window-trailing-edge)
@@ -139,8 +142,7 @@
139 Prevent "class foo : bar" being spuriously recognized as a label. 142 Prevent "class foo : bar" being spuriously recognized as a label.
140 143
141 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block): 144 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
142 Add parameter `inclusive' (to include enclosing braces in the 145 Add parameter `inclusive' (to include enclosing braces in the region).
143 region).
144 (c-widen-to-enclosing-decl-scope): New function. 146 (c-widen-to-enclosing-decl-scope): New function.
145 (c-while-widening-to-decl-block): New macro. 147 (c-while-widening-to-decl-block): New macro.
146 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going 148 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
@@ -161,7 +163,7 @@
161 * progmodes/cc-defs.el: Update "virtual semicolon" comments. 163 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
162 164
163 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): 165 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
164 Recoded to scan one line at at time rather than having \n and \r 166 Recode to scan one line at at time rather than having \n and \r
165 explicitly in c-stmt-delim-chars 167 explicitly in c-stmt-delim-chars
166 (for some modes, e.g. AWK). 168 (for some modes, e.g. AWK).
167 (c-forward-label): Amend for virtual semicolons. 169 (c-forward-label): Amend for virtual semicolons.
@@ -171,8 +173,8 @@
171 of the new C macros. 173 of the new C macros.
172 174
173 * progmodes/cc-langs.el (c-at-vsemi-p-fn): 175 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
174 (c-vsemi-status-unknown-p-fn): move to earlier in the file. 176 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
175 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables. 177 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
176 (c-opt-cpp-macro-define): Make into a full language variable. 178 (c-opt-cpp-macro-define): Make into a full language variable.
177 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for 179 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
178 AWK Mode (including \n, \r) removed, no longer needed. 180 AWK Mode (including \n, \r) removed, no longer needed.
@@ -232,7 +234,7 @@
232 234
2332011-10-26 Juanma Barranquero <lekktu@gmail.com> 2352011-10-26 Juanma Barranquero <lekktu@gmail.com>
234 236
235 * term/w32-win.el (w32-default-color-map): Declare obsolete. (Bug#9785) 237 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
236 238
2372011-10-26 Michael Albinus <michael.albinus@gmx.de> 2392011-10-26 Michael Albinus <michael.albinus@gmx.de>
238 240
@@ -280,7 +282,8 @@
280 282
2812011-10-24 Stefan Monnier <monnier@iro.umontreal.ca> 2832011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
282 284
283 * progmodes/octave-inf.el (inferior-octave-mode-map): Fix C-c C-h binding. 285 * progmodes/octave-inf.el (inferior-octave-mode-map):
286 Fix C-c C-h binding.
284 * progmodes/octave-mod.el (octave-help): Remove. 287 * progmodes/octave-mod.el (octave-help): Remove.
285 288
2862011-10-23 Michael Albinus <michael.albinus@gmx.de> 2892011-10-23 Michael Albinus <michael.albinus@gmx.de>
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 860ccf45206..12cbd30df68 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,8 @@
12011-11-02 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * gnus-util.el (gnus-bound-and-true-p): Another comment to explain why
4 we don't use `bound-and-true-p'.
5
12011-11-01 Teodor Zlatanov <tzz@lifelogs.com> 62011-11-01 Teodor Zlatanov <tzz@lifelogs.com>
2 7
3 * gnus-util.el (gnus-bound-and-true-p): Remove. 8 * gnus-util.el (gnus-bound-and-true-p): Remove.
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el
index f811c9664af..14551737837 100644
--- a/lisp/gnus/gnus-util.el
+++ b/lisp/gnus/gnus-util.el
@@ -1986,7 +1986,8 @@ definitions to shadow the loaded ones for use in file byte-compilation."
1986 (gnus-macroexpand-all expanded environment))) 1986 (gnus-macroexpand-all expanded environment)))
1987 form)))) 1987 form))))
1988 1988
1989;; simple check, can be a macro but this way, although slow, it's really clear 1989;; Simple check: can be a macro but this way, although slow, it's really clear.
1990;; We don't use `bound-and-true-p' because it's not in XEmacs.
1990(defun gnus-bound-and-true-p (sym) 1991(defun gnus-bound-and-true-p (sym)
1991 (and (boundp sym) (symbol-value sym))) 1992 (and (boundp sym) (symbol-value sym)))
1992 1993
diff --git a/lisp/window.el b/lisp/window.el
index d93658a2cef..9b12c204d48 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -5024,7 +5024,7 @@ nil, BUFFER-OR-NAME may be displayed in another window.
5024 5024
5025Return the buffer switched to." 5025Return the buffer switched to."
5026 (interactive 5026 (interactive
5027 (list (read-buffer-to-switch "Switch to buffer: ") nil nil)) 5027 (list (read-buffer-to-switch "Switch to buffer: ") nil 'force-same-window))
5028 (let ((buffer (window-normalize-buffer-to-switch-to buffer-or-name))) 5028 (let ((buffer (window-normalize-buffer-to-switch-to buffer-or-name)))
5029 (if (null force-same-window) 5029 (if (null force-same-window)
5030 (pop-to-buffer buffer display-buffer--same-window-action norecord) 5030 (pop-to-buffer buffer display-buffer--same-window-action norecord)