Use with-eval-after-load

This commit is contained in:
Lars Tveito 2020-03-10 20:35:42 +01:00
parent 89a047d4d4
commit fdd1d410f8

View File

@ -672,11 +672,10 @@
="this string"=, because the quotation marks causes problems. ="this string"=, because the quotation marks causes problems.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
;;(require 'org) (with-eval-after-load 'org
(eval-after-load "org" (setcar (nthcdr 2 org-emphasis-regexp-components) " \t\n,")
'(progn (custom-set-variables `(org-emphasis-alist ',org-emphasis-alist)))
(setcar (nthcdr 2 org-emphasis-regexp-components) " \t\n,") #+END_SRC
(custom-set-variables `(org-emphasis-alist ',org-emphasis-alist))))
Enable org-bullets when opening org-files. Enable org-bullets when opening org-files.