! -> eval-when-compile

This commit is contained in:
Henrik Lissner 2015-10-26 01:34:16 -04:00
parent a5bf8a5190
commit 745256eabd
4 changed files with 9 additions and 8 deletions

View file

@ -50,7 +50,7 @@
(define-key company-active-map (kbd "C-w") nil) (define-key company-active-map (kbd "C-w") nil)
(shut-up! (shut-up!
(setq company-statistics-file (! (concat narf-temp-dir "company-statistics-cache.el"))) (setq company-statistics-file (concat narf-temp-dir "company-stats-cache.el"))
(require 'company-statistics) (require 'company-statistics)
(company-statistics-mode)) (company-statistics-mode))

View file

@ -19,8 +19,8 @@
(when window-system (when window-system
(setenv "SHELL" "/usr/local/bin/zsh") (setenv "SHELL" "/usr/local/bin/zsh")
(setenv "EMACS" "1") ; make sure the world knows (setenv "EMACS" "1") ; make sure the world knows
(setq exec-path (eval-when-compile
(setq exec-path (! (require 'exec-path-from-shell) (require 'exec-path-from-shell)
(exec-path-from-shell-initialize) (exec-path-from-shell-initialize)
exec-path))) exec-path)))

View file

@ -16,13 +16,14 @@
ido-create-new-buffer 'always ido-create-new-buffer 'always
ido-enable-tramp-completion t ido-enable-tramp-completion t
ido-enable-last-directory-history t ido-enable-last-directory-history t
ido-save-directory-list-file (! (concat narf-temp-dir "ido.last"))) ido-save-directory-list-file (concat narf-temp-dir "ido.last"))
:config :config
(add-to-list 'ido-ignore-files "\\`.DS_Store$") (add-to-list 'ido-ignore-files "\\`.DS_Store$")
(add-to-list 'ido-ignore-files "Icon\\?$") (add-to-list 'ido-ignore-files "Icon\\?$")
(ido-mode 1) (ido-mode 1)
(ido-everywhere 1) (ido-everywhere 1)
(require 'ido-ubiquitous) (require 'ido-ubiquitous)
(ido-ubiquitous-mode 1) (ido-ubiquitous-mode 1)

View file

@ -4,8 +4,8 @@
(use-package workgroups2 (use-package workgroups2
:when window-system :when window-system
:init :init
(setq wg-session-file (! (expand-file-name "wg-default" narf-temp-dir)) (setq wg-session-file (expand-file-name "wg-default" narf-temp-dir)
wg-workgroup-directory (! (expand-file-name "workgroups" narf-temp-dir)) wg-workgroup-directory (expand-file-name "workgroups" narf-temp-dir)
wg-first-wg-name "main" wg-first-wg-name "main"
wg-session-load-on-start t wg-session-load-on-start t
wg-mode-line-display-on nil wg-mode-line-display-on nil