mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Make bootstrap.el byte-compile-friendly
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
;;; bootstrap.el
|
;;; bootstrap.el
|
||||||
|
|
||||||
|
(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/"))
|
||||||
@ -16,7 +17,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)))
|
||||||
|
|
||||||
;; Global settings
|
;; Global settings
|
||||||
(scroll-bar-mode -1) ; no scrollbar
|
(scroll-bar-mode -1) ; no scrollbar
|
||||||
|
Reference in New Issue
Block a user