From 224baa93f966f683f4b7205105f99e298600dfa8 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sat, 7 Jan 2012 20:39:03 +0000 Subject: [PATCH] use uniquify to deal with files of the same name in a better way --- appearance.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/appearance.el b/appearance.el index e61b6b5..4f65061 100644 --- a/appearance.el +++ b/appearance.el @@ -31,6 +31,12 @@ (if window-system () (setq linum+-smart-format "%%%dd " linum+-dynamic-format "%%%dd ")) +;; meaningful names for buffers with the same name +(require 'uniquify) +(setq uniquify-buffer-name-style 'forward) +(setq uniquify-separator "/") +(setq uniquify-after-kill-buffer-p t) ; rename after killing uniquified +(setq uniquify-ignore-buffers-re "^\\*") ; don't muck with special buffers ;; Display whitespace characters globally (global-whitespace-mode t)