aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJuri Linkov2013-12-12 02:42:16 +0200
committerJuri Linkov2013-12-12 02:42:16 +0200
commitd5ccb7be025ddc5a6ac8c5291d89596b78d9745c (patch)
tree6294a8832e9953b8ce72f30be4d396daf0255c31 /lisp
parent7204a2e666b34d8b309b7b8568c88032468e207e (diff)
downloademacs-d5ccb7be025ddc5a6ac8c5291d89596b78d9745c.tar.gz
emacs-d5ccb7be025ddc5a6ac8c5291d89596b78d9745c.zip
* lisp/uniquify.el (uniquify-buffer-name-style): Change default to `post-forward-angle-brackets'.
* lisp/menu-bar.el (menu-bar-options-menu): Don't require preloaded `uniquify'. Change default to `post-forward-angle-brackets'. http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00317.html
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/menu-bar.el3
-rw-r--r--lisp/uniquify.el3
3 files changed, 11 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7db22e734cc..7ec6750720b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
12013-12-12 Juri Linkov <juri@jurta.org>
2
3 * uniquify.el (uniquify-buffer-name-style): Change default to
4 `post-forward-angle-brackets'.
5
6 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
7 `uniquify'. Change default to `post-forward-angle-brackets'.
8
12013-12-11 Glenn Morris <rgm@gnu.org> 92013-12-11 Glenn Morris <rgm@gnu.org>
2 10
3 * emacs-lisp/package.el (finder-list-matches): 11 * emacs-lisp/package.el (finder-list-matches):
diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 9e267d26c9b..1f9d66f3738 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -1223,10 +1223,9 @@ mail status in mode line"))
1223 "Use Directory Names in Buffer Names" 1223 "Use Directory Names in Buffer Names"
1224 "Directory name in buffer names (uniquify) %s" 1224 "Directory name in buffer names (uniquify) %s"
1225 "Uniquify buffer names by adding parent directory names" 1225 "Uniquify buffer names by adding parent directory names"
1226 (require 'uniquify)
1227 (setq uniquify-buffer-name-style 1226 (setq uniquify-buffer-name-style
1228 (if (not uniquify-buffer-name-style) 1227 (if (not uniquify-buffer-name-style)
1229 'forward)))) 1228 'post-forward-angle-brackets))))
1230 1229
1231 (bindings--define-key menu [edit-options-separator] 1230 (bindings--define-key menu [edit-options-separator]
1232 menu-bar-separator) 1231 menu-bar-separator)
diff --git a/lisp/uniquify.el b/lisp/uniquify.el
index b7bb4c73879..a52ed613941 100644
--- a/lisp/uniquify.el
+++ b/lisp/uniquify.el
@@ -93,7 +93,7 @@
93 :group 'files) 93 :group 'files)
94 94
95 95
96(defcustom uniquify-buffer-name-style 'post-forward 96(defcustom uniquify-buffer-name-style 'post-forward-angle-brackets
97 "If non-nil, buffer names are uniquified with parts of directory name. 97 "If non-nil, buffer names are uniquified with parts of directory name.
98The value determines the buffer name style and is one of `forward', 98The value determines the buffer name style and is one of `forward',
99`reverse', `post-forward', or `post-forward-angle-brackets'. 99`reverse', `post-forward', or `post-forward-angle-brackets'.
@@ -111,6 +111,7 @@ of `uniquify-strip-common-suffix'."
111 (const post-forward) 111 (const post-forward)
112 (const post-forward-angle-brackets) 112 (const post-forward-angle-brackets)
113 (const :tag "standard Emacs behavior (nil)" nil)) 113 (const :tag "standard Emacs behavior (nil)" nil))
114 :version "24.4"
114 :require 'uniquify 115 :require 'uniquify
115 :group 'uniquify) 116 :group 'uniquify)
116 117