X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=elisp.git;a=blobdiff_plain;f=emacs.el;h=48600767a15952e3b358aad5ebf0784db1a66343;hp=d594243accc1f7e8c16720ea8746ec2738d2b8ad;hb=9086a0ae1e1f5c1f7076ccf6e9eb11188d5447a9;hpb=81269eb9ce700853f25e70bb5be83a0247eb9983 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))