summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
authorAlan Pearce2015-09-07 16:42:42 +0200
committerAlan Pearce2015-09-07 16:42:42 +0200
commit4ff71fca31604a53a0e7384b624fc85e0ca66ebb (patch)
tree6bd29ecd8a7d2ed7e3e33587fa78cbc53ffa421b /tag-emacs/emacs.d
parentebf6a8b80f7c3a6493b84629350052432fd5b688 (diff)
downloaddotfiles-4ff71fca31604a53a0e7384b624fc85e0ca66ebb.tar.lz
dotfiles-4ff71fca31604a53a0e7384b624fc85e0ca66ebb.tar.zst
dotfiles-4ff71fca31604a53a0e7384b624fc85e0ca66ebb.zip
Emacs: Replace Uniquify with relative-buffers
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r--tag-emacs/emacs.d/Cask1
-rw-r--r--tag-emacs/emacs.d/init.org15
2 files changed, 5 insertions, 11 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask
index bc48c31..f1e204d 100644
--- a/tag-emacs/emacs.d/Cask
+++ b/tag-emacs/emacs.d/Cask
@@ -107,6 +107,7 @@
 (depends-on "quickrun")
 (depends-on "rainbow-mode")
 (depends-on "redshank")
+(depends-on "relative-buffers")
 (depends-on "req-package")
 (depends-on "restclient")
 (depends-on "s")
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index c78c62a..75ef27d 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -704,20 +704,13 @@ often though, as it doesn’t really work with perspectives.
                           filename-and-process)))))
 #+END_SRC
 
-** Uniqify
-
-Sometimes projects have files with the same name.  This gives them
-unique names, by adding enough path elements to make them unambiguous.
+** Relative Buffer names
 
 #+BEGIN_SRC emacs-lisp
-(req-package uniquify
-  :config (progn
-            (setq uniquify-buffer-name-style 'forward
-                  uniquify-separator "/"
-                  uniquify-after-kill-buffer-p t
-                  uniquify-ignore-buffers-re "^\\*")))
+  (req-package relative-buffers
+    :init (progn
+            (global-relative-buffers-mode)))
 #+END_SRC
-
 ** Narrowing
 
 Enable it without prompting