From fb378d16d296769c97292b38fe42d264ab7f63f4 Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Fri, 21 Feb 2014 20:14:50 +0100 Subject: [PATCH] Emacs: enabled uniquify by default --- .emacs.d/main.el | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.emacs.d/main.el b/.emacs.d/main.el index 06e08bfe..3dbdf895 100644 --- a/.emacs.d/main.el +++ b/.emacs.d/main.el @@ -9,6 +9,9 @@ (setq save-place-file (concat emacs-cache-folder "saveplace")) (setq-default save-place t) +;; Bookmark file to cache folder. +(setq bookmark-default-file (concat emacs-cache-folder "emacs.bmk")) + ;; Disable autosave features. (setq auto-save-default nil) (setq auto-save-list-file-prefix nil) @@ -308,15 +311,15 @@ (ad-activate 'pop-to-buffer) -;; GMP +;; GMP documentation (eval-after-load "info-look" '(let ((mode-value (assoc 'c-mode (assoc 'symbol info-lookup-alist)))) (setcar (nthcdr 3 mode-value) (cons '("(gmp)Function Index" nil "^ -.* " "\\>") (nth 3 mode-value))))) -;; Bookmark file to cache folder. -(setq bookmark-default-file (concat emacs-cache-folder "emacs.bmk")) +(require 'uniquify) +(setq uniquify-buffer-name-style 'forward) ;; Disable prompt (but leave warning) on git symlink. (setq vc-follow-symlinks t)