From: Francois Fleuret Date: Fri, 27 Jun 2014 12:42:22 +0000 (+0200) Subject: Update. X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=elisp.git;a=commitdiff_plain;h=9086a0ae1e1f5c1f7076ccf6e9eb11188d5447a9 Update. --- diff --git a/emacs.el b/emacs.el index d594243..4860076 100644 --- a/emacs.el +++ b/emacs.el @@ -33,6 +33,8 @@ ;; This is where I put most of my emacs-related files (setq ff/emacs-dir "~/private/emacs") +(unless (file-exists-p ff/emacs-dir) + (mkdir ff/emacs-dir t)) ;; Give the focus to the emacs window if we are under a windowing ;; system @@ -76,9 +78,6 @@ ;; Activate the dynamic completion of buffer names (iswitchb-mode 1) -(unless (file-exists-p ff/emacs-dir) - (mkdir ff/emacs-dir)) - ;; Save the minibuffer history (setq savehist-file (concat ff/emacs-dir "/savehist")) (when (functionp 'savehist-mode) (savehist-mode 1))