aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorMartin Rudalics2015-05-20 08:49:23 +0200
committerMartin Rudalics2015-05-20 08:49:23 +0200
commit31d58d45249b3fb13a0a9a2c921f04cd9b42ff3f (patch)
treea5c2f1b4826b1e7f972c88d6b992ba3dfc9ef05b /etc
parentf743819b57ef519109c1b9d520d358d19a197086 (diff)
downloademacs-31d58d45249b3fb13a0a9a2c921f04cd9b42ff3f.tar.gz
emacs-31d58d45249b3fb13a0a9a2c921f04cd9b42ff3f.zip
Improve `switch-to-buffer' in strongly dedicated windows (Bug#20472)
* lisp/window.el (switch-to-buffer-in-dedicated-window): New option. (switch-to-buffer): If the selected window is strongly dedicated to its buffer, signal error before prompting for buffer name. Handle `switch-to-buffer-in-dedicated-window'. (Bug#20472) * doc/lispref/windows.texi (Switching Buffers): Document `switch-to-buffer-in-dedicated-window'.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS13
1 files changed, 9 insertions, 4 deletions
diff --git a/etc/NEWS b/etc/NEWS
index c4c9d774b5f..2540756b9be 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -165,7 +165,7 @@ buffers to allow certain parts of the text to be writable.
165** A new function `directory-files-recursively' returns all matching 165** A new function `directory-files-recursively' returns all matching
166files (recursively) under a directory. 166files (recursively) under a directory.
167 167
168** The new `directory-name-p' can be used to check whether a file 168** The new function `directory-name-p' can be used to check whether a file
169name (as returned from, for instance, `file-name-all-completions' is 169name (as returned from, for instance, `file-name-all-completions' is
170a directory file name. It returns non-nil if the last character in 170a directory file name. It returns non-nil if the last character in
171the name is a forward slash. 171the name is a forward slash.
@@ -585,8 +585,8 @@ nil to disable this.
585fitting for use in money calculations; factorial works with 585fitting for use in money calculations; factorial works with
586non-integer inputs. 586non-integer inputs.
587 587
588** HideIfDef mode now support full C/C++ expressions, argumented macro expansions 588** HideIfDef mode now support full C/C++ expressions, argumented macro expansions,
589, interactive macro evaluation and automatic scanning of #defined symbols. 589interactive macro evaluation and automatic scanning of #defined symbols.
590 590
591*** New custom variable `hide-ifdef-header-regexp' to define C/C++ header file 591*** New custom variable `hide-ifdef-header-regexp' to define C/C++ header file
592name patterns. Default case-insensitive .h, .hh, .hpp and .hxx. 592name patterns. Default case-insensitive .h, .hh, .hpp and .hxx.
@@ -755,7 +755,7 @@ If you want the old behavior of calling the function in the buffer
755from which the minibuffer was entered, call it with the new argument 755from which the minibuffer was entered, call it with the new argument
756`switch-buffer'. 756`switch-buffer'.
757 757
758** window-configurations no longer record the buffers's marks. 758** window-configurations no longer record the buffers' marks.
759 759
760** inhibit-modification-hooks now also inhibits lock-file checks, as well as 760** inhibit-modification-hooks now also inhibits lock-file checks, as well as
761active region handling. 761active region handling.
@@ -960,6 +960,11 @@ fullwidth frames, the behavior may depend on the toolkit used.
960windows without "fixing" it. It's supported by `fit-window-to-buffer', 960windows without "fixing" it. It's supported by `fit-window-to-buffer',
961`temp-buffer-resize-mode' and `display-buffer'. 961`temp-buffer-resize-mode' and `display-buffer'.
962 962
963+++
964** New option `switch-to-buffer-in-dedicated-window' allows to customize
965how `switch-to-buffer' proceeds interactively when the selected window
966is strongly dedicated to its buffer.
967
963** Tearoff menus and detachable toolbars for Gtk+ has been removed. 968** Tearoff menus and detachable toolbars for Gtk+ has been removed.
964Those features have been deprecated in Gtk+ for a long time. 969Those features have been deprecated in Gtk+ for a long time.
965 970