[Init] Move constants to top
This commit is contained in:
parent
2799557f9d
commit
1240abfff0
11
init.el
11
init.el
|
@ -17,12 +17,18 @@
|
|||
;;; Code:
|
||||
|
||||
|
||||
;; * Packages
|
||||
;; * Constants
|
||||
|
||||
(defconst emacs-d (file-name-directory
|
||||
(file-chase-links load-file-name))
|
||||
"The giant turtle on which the world rests.")
|
||||
|
||||
(defconst on-windows (memq system-type '(windows-nt cygwin))
|
||||
"Non-nil if and only if this instance of Emacs runs on Windows.")
|
||||
|
||||
|
||||
;; * Packages
|
||||
|
||||
(require 'package)
|
||||
|
||||
(setq package-user-dir (expand-file-name "elpa" emacs-d))
|
||||
|
@ -319,9 +325,6 @@ _h_ _l_ _o_k _y_ank
|
|||
:group 'help
|
||||
:tag "Personal settings")
|
||||
|
||||
(defconst on-windows (memq system-type '(windows-nt cygwin))
|
||||
"Non-nil if and only if this instance of Emacs runs on Windows.")
|
||||
|
||||
|
||||
;; * Builtin Variables
|
||||
|
||||
|
|
Loading…
Reference in New Issue