add option to ignore ido.last errors on exit as its history is non-critical and the prompt is more annoying/problematic than any history loss
This commit is contained in:
parent
593b663560
commit
c3baeecc2d
|
@ -197,6 +197,8 @@
|
||||||
(setq ido-enable-flex-matching t)
|
(setq ido-enable-flex-matching t)
|
||||||
(setq ido-everywhere t)
|
(setq ido-everywhere t)
|
||||||
(ido-mode 1)
|
(ido-mode 1)
|
||||||
|
(defun ido-kill-emacs-hook ()
|
||||||
|
(ignore-errors (ido-save-history)))
|
||||||
(setq-default tab-width 4) ; sanity!
|
(setq-default tab-width 4) ; sanity!
|
||||||
(electric-indent-mode 0) ; return should NOT fuck with the indentation of the previous line
|
(electric-indent-mode 0) ; return should NOT fuck with the indentation of the previous line
|
||||||
|
|
||||||
|
|
Reference in a new issue