[Init] Move constants to top

This commit is contained in:
Daniel - 2017-11-11 11:44:30 +01:00
parent 2799557f9d
commit 1240abfff0
Signed by: dbo
GPG Key ID: 4F63DB96D45AA9C6
1 changed files with 7 additions and 4 deletions

11
init.el
View File

@ -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