save my place

This commit is contained in:
Hunter Haugen 2009-11-30 00:59:19 +05:30
parent 01b1e61477
commit ef37f36de4

4
.emacs
View file

@ -59,6 +59,10 @@
(setq url-proxy-services '(("no_proxy" . "localhost")
("http" . "localhost:8118")))
(setq save-place-file "~/.emacs.d/saveplace") ;; keep my ~/ clean
(setq-default save-place t) ;; activate it for all buffers
(require 'saveplace) ;; get the package
;; Prevent Emacs from stupidly auto-changing my working directory
(defun find-file-save-default-directory ()
(interactive)