INIT: Fix config file name for myrmi/{visit,reload}-config
This commit is contained in:
parent
c748fb94c4
commit
69010af86e
1 changed files with 3 additions and 4 deletions
7
init.el
7
init.el
|
|
@ -5,11 +5,10 @@
|
||||||
;;; ...
|
;;; ...
|
||||||
(let ((gc-cons-threshold most-positive-fixnum))
|
(let ((gc-cons-threshold most-positive-fixnum))
|
||||||
;; This is the actual config file. It is omitted if it doesn't exist so emacs won't refuse to launch.
|
;; This is the actual config file. It is omitted if it doesn't exist so emacs won't refuse to launch.
|
||||||
(defvar config-file (expand-file-name "config_new.org" user-emacs-directory))
|
(defvar my-config-file (expand-file-name "config_new.org" user-emacs-directory))
|
||||||
;;(defvar project-file (expand-file-name "project.org" user-emacs-directory))
|
|
||||||
|
|
||||||
(when (file-readable-p config-file)
|
(when (file-readable-p my-config-file)
|
||||||
(org-babel-load-file (expand-file-name config-file)))
|
(org-babel-load-file (expand-file-name my-config-file)))
|
||||||
|
|
||||||
;; If it exists, load some project-specific configurations.
|
;; If it exists, load some project-specific configurations.
|
||||||
;;(when (file-readable-p project-file)
|
;;(when (file-readable-p project-file)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue