Browse Source

Fix order

master
10sr 4 years ago
parent
commit
b385bb2924
Signed by: 10sr GPG Key ID: C384BB17CBB19347
1 changed files with 14 additions and 13 deletions
  1. +14
    -13
      emacs.el

+ 14
- 13
emacs.el View File

@@ -1129,6 +1129,20 @@ Otherwize hook it."
(add-hook 'after-save-hook (add-hook 'after-save-hook
'executable-make-buffer-file-executable-if-script-p) '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 (set-variable 'bookmark-default-file
(expand-file-name (concat user-emacs-directory (expand-file-name (concat user-emacs-directory
"bmk"))) "bmk")))
@@ -1156,19 +1170,6 @@ Otherwize hook it."
(add-to-list 'recentf-exclude (add-to-list 'recentf-exclude
(regexp-quote bookmark-default-file))) (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 ;; vc


(set-variable 'vc-handled-backends '(RCS)) (set-variable 'vc-handled-backends '(RCS))


Loading…
Cancel
Save