Skip to content

Commit

Permalink
load-prefer-newer t, no clojure & title-with-path
Browse files Browse the repository at this point in the history
  • Loading branch information
tekai committed Nov 25, 2014
1 parent 4b132c4 commit 309c99a
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions work-emacs
Expand Up @@ -44,6 +44,10 @@

(prefer-coding-system 'utf-8)

;; MUST BE BEFORE ANY REQUIRE ETC.
;; load the newer file of .el / .elc
(setq load-prefer-newer t)

(require 'cl)
;; custom keybindings
(require 'hippie-exp)
Expand Down Expand Up @@ -93,14 +97,6 @@
(setq server-visit-hook 'raise-frame)
(setq gnuserv-frame (selected-frame))

(defun title-with-path ()
"If possible set window title to \"emacs@<system>: /path/to/file\""
(when (memq window-system '(x mac w32))
(setq frame-title-format
'(:eval (if buffer-file-name
(list "emacs@" system-name " : %f")
"emacs : %b")))))

;; change buffer naming strategy from file<2> to file:dir/dir
(require 'uniquify)
(setq uniquify-buffer-name-style 'post-forward
Expand Down Expand Up @@ -143,12 +139,6 @@
(add-to-list 'load-path "~/.emacs.d/libs/magit")
(add-to-list 'load-path "~/.emacs.d/libs/g-client")
(add-to-list 'load-path "~/.emacs.d/libs/geben")
(add-to-list 'load-path "~/.emacs.d/libs/dash")
(add-to-list 'load-path "~/.emacs.d/libs/pkg-info")
(add-to-list 'load-path "~/.emacs.d/libs/epl")
(add-to-list 'load-path "~/.emacs.d/libs/cider")
(add-to-list 'load-path "~/.emacs.d/libs/clojure-mode")


;; Mac stuff
(when (eq system-type 'darwin)
Expand Down

0 comments on commit 309c99a

Please sign in to comment.