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"
'(progn
(setcar (nthcdr 2 org-emphasis-regexp-components) " \t\n,") (setcar (nthcdr 2 org-emphasis-regexp-components) " \t\n,")
(custom-set-variables `(org-emphasis-alist ',org-emphasis-alist)))) (custom-set-variables `(org-emphasis-alist ',org-emphasis-alist)))
#+END_SRC
Enable org-bullets when opening org-files. Enable org-bullets when opening org-files.