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:
contrapunctus 2021-11-15 23:02:40 +05:30
parent e65c0837c6
commit d2ae421a7a
2 changed files with 8 additions and 10 deletions

12
init.el
View File

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

View File

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