Use load instead of literate-elisp-load
The latter does not honor the #+OPTIONS: use-property-inheritance:t line, so we are back to plain old tangling and loading.
This commit is contained in:
parent
e65c0837c6
commit
d2ae421a7a
12
init.el
12
init.el
|
@ -55,13 +55,5 @@
|
|||
;; (add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
|
||||
(package-initialize)
|
||||
|
||||
(require 'exwm)
|
||||
(require 'exwm-config)
|
||||
(exwm-config-example)
|
||||
|
||||
(require 'literate-elisp)
|
||||
(let ((file-el "~/.emacs.d/init-org")
|
||||
(file-org "~/.emacs.d/init.org"))
|
||||
(if (file-newer-than-file-p file-el file-org)
|
||||
(load file t)
|
||||
(literate-elisp-load "~/.emacs.d/init.org")))
|
||||
(load "~/.emacs.d/init-org")
|
||||
(put 'erase-buffer 'disabled nil)
|
||||
|
|
6
init.org
6
init.org
|
@ -3484,6 +3484,12 @@ Create advice for =lispy-pair= - if =lispy--in-string-or-comment-p= is true, sel
|
|||
:bind (:map ielm-map
|
||||
("M-'" . sp-indent-defun)))
|
||||
#+END_SRC
|
||||
*** literate-elisp
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package literate-elisp
|
||||
:commands (literate-elisp-load))
|
||||
#+END_SRC
|
||||
|
||||
*** eldoc
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package eldoc
|
||||
|
|
Loading…
Reference in New Issue