From b385bb29245236b6a608da23d53d8eed79eec167 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Fri, 24 Jan 2020 22:09:57 +0900 Subject: [PATCH] Fix order --- emacs.el | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/emacs.el b/emacs.el index ba5a114..80a5cb1 100644 --- a/emacs.el +++ b/emacs.el @@ -1129,6 +1129,20 @@ Otherwize hook it." (add-hook 'after-save-hook 'executable-make-buffer-file-executable-if-script-p) + +(when (fboundp 'smart-revert-on) + (smart-revert-on)) + +;; autosave +;; auto-save-visited-mode can be used instead? +;; (when (require 'autosave nil t) +;; (autosave-set 8)) + + +;; bookmarks +;; Bookmark feature does not work well with multiple emacs instances... + +;; (define-key ctl-x-map "m" 'list-bookmarks) (set-variable 'bookmark-default-file (expand-file-name (concat user-emacs-directory "bmk"))) @@ -1156,19 +1170,6 @@ Otherwize hook it." (add-to-list 'recentf-exclude (regexp-quote bookmark-default-file))) -(when (fboundp 'smart-revert-on) - (smart-revert-on)) - -;; autosave -;; auto-save-visited-mode can be used instead? -;; (when (require 'autosave nil t) -;; (autosave-set 8)) - - -;; bookmarks - -;; (define-key ctl-x-map "m" 'list-bookmarks) - ;; vc (set-variable 'vc-handled-backends '(RCS))