init-packages: eval-and-compile
This commit is contained in:
parent
69a19ef574
commit
156106fcb0
1 changed files with 18 additions and 17 deletions
|
@ -5,6 +5,7 @@
|
||||||
package--init-file-ensured t
|
package--init-file-ensured t
|
||||||
package-enable-at-startup nil)
|
package-enable-at-startup nil)
|
||||||
|
|
||||||
|
(eval-and-compile
|
||||||
(defconst narf-emacs-dir user-emacs-directory)
|
(defconst narf-emacs-dir user-emacs-directory)
|
||||||
(defconst narf-core-dir (concat narf-emacs-dir "core/"))
|
(defconst narf-core-dir (concat narf-emacs-dir "core/"))
|
||||||
(defconst narf-modules-dir (concat narf-emacs-dir "modules/"))
|
(defconst narf-modules-dir (concat narf-emacs-dir "modules/"))
|
||||||
|
@ -23,7 +24,7 @@
|
||||||
|
|
||||||
(defconst IS-MAC (eq system-type 'darwin))
|
(defconst IS-MAC (eq system-type 'darwin))
|
||||||
(defconst IS-LINUX (eq system-type 'gnu/linux))
|
(defconst IS-LINUX (eq system-type 'gnu/linux))
|
||||||
(defconst IS-WINDOWS (eq system-type 'windows-nt))
|
(defconst IS-WINDOWS (eq system-type 'windows-nt)))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue