From 1240abfff044b356244ca8892a651968ecbaadda Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 11 Nov 2017 11:44:30 +0100 Subject: [PATCH] [Init] Move constants to top --- init.el | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/init.el b/init.el index c530830..0a3a7e1 100644 --- a/init.el +++ b/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