Finally dropped autosave mode.
This commit is contained in:
parent
33a1252e1e
commit
fd5cfa713f
|
@ -158,9 +158,7 @@
|
||||||
(global-set-key "\C-cb" 'org-switchb)
|
(global-set-key "\C-cb" 'org-switchb)
|
||||||
(global-set-key "\C-\M-v" 'clipboard-yank)
|
(global-set-key "\C-\M-v" 'clipboard-yank)
|
||||||
|
|
||||||
;; (add-hook 'before-save-hook 'delete-trailing-whitespace) # Does not works well with auto-save-visited-mode
|
(add-hook 'before-save-hook 'delete-trailing-whitespace)
|
||||||
(add-hook 'after-init-hook 'global-company-mode)
|
|
||||||
|
|
||||||
|
|
||||||
(setq version-control t ; (for backup files)
|
(setq version-control t ; (for backup files)
|
||||||
mouse-yank-at-point t
|
mouse-yank-at-point t
|
||||||
|
@ -173,9 +171,6 @@
|
||||||
;; Save all backup file in this directory.
|
;; Save all backup file in this directory.
|
||||||
(setq-default delete-old-versions t)
|
(setq-default delete-old-versions t)
|
||||||
|
|
||||||
(auto-save-visited-mode t)
|
|
||||||
(setq auto-save-visited-interval 1)
|
|
||||||
|
|
||||||
(fset 'yes-or-no-p 'y-or-n-p)
|
(fset 'yes-or-no-p 'y-or-n-p)
|
||||||
|
|
||||||
(setq-default truncate-partial-width-windows nil)
|
(setq-default truncate-partial-width-windows nil)
|
||||||
|
@ -220,6 +215,7 @@
|
||||||
(add-hook 'emacs-lisp-mode-hook 'hexcolour-add-to-font-lock)
|
(add-hook 'emacs-lisp-mode-hook 'hexcolour-add-to-font-lock)
|
||||||
(add-hook 'conf-xdefaults-mode-hook 'hexcolour-add-to-font-lock)
|
(add-hook 'conf-xdefaults-mode-hook 'hexcolour-add-to-font-lock)
|
||||||
(add-hook 'before-save-hook 'delete-trailing-whitespace)
|
(add-hook 'before-save-hook 'delete-trailing-whitespace)
|
||||||
|
;; (add-hook 'after-init-hook 'global-company-mode) je teste de desactiver ça pour l'infobulle chiante
|
||||||
|
|
||||||
(yas-global-mode 1)
|
(yas-global-mode 1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue