From 8958403e243b99f5e64e73de00fe5af85e3bfe6e Mon Sep 17 00:00:00 2001 From: syl20bnr Date: Mon, 6 May 2013 21:08:10 -0400 Subject: [PATCH] Add configuration to uniquify files with same name with the parent folder instead <2>,<3> etc... --- config/config-session.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/config-session.el b/config/config-session.el index dff1b4de1..f88b745bb 100644 --- a/config/config-session.el +++ b/config/config-session.el @@ -8,6 +8,11 @@ (setq make-backup-files nil) (setq auto-save-default nil) (setq create-lockfiles nil) +;; When having windows with repeated filenames, uniquify them +;; by the folder they are in rather those annoying <2>,<3>,.. etc +(setq uniquify-buffer-name-style 'post-forward-angle-brackets) +; don't screw special buffers +(setq uniquify-ignore-buffers-re "^\\*") ;; Save point position between sessions (require 'saveplace) (setq-default save-place t)