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:
KemoNine 2022-04-23 12:17:38 -04:00
parent 593b663560
commit c3baeecc2d
1 changed files with 2 additions and 0 deletions

View File

@ -197,6 +197,8 @@
(setq ido-enable-flex-matching t)
(setq ido-everywhere t)
(ido-mode 1)
(defun ido-kill-emacs-hook ()
(ignore-errors (ido-save-history)))
(setq-default tab-width 4) ; sanity!
(electric-indent-mode 0) ; return should NOT fuck with the indentation of the previous line