]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
fix org-bullets for console
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 22 Nov 2019 14:23:12 +0000 (15:23 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 22 Nov 2019 14:23:12 +0000 (15:23 +0100)
bba.org

diff --git a/bba.org b/bba.org
index a94aa6ca36b7f6748ff77279178940525af459d9..b8c1127a46523ddb88a23e67c7f2b50f0248ebd3 100644 (file)
--- a/bba.org
+++ b/bba.org
@@ -1884,7 +1884,6 @@ taken from http://doc.norang.ca/org-mode.org
                     (define-key org-mode-map "\C-h\C-y" '(lambda () (interactive) (find-file "~/.emacs.d/snippets/org-mode.org")))
                     (when (display-graphic-p)
                       (progn
-                        (org-bullets-mode 1)
                         (rainbow-delimiters-mode))
                       )
                     )
@@ -1979,9 +1978,12 @@ html.
 
 ** org-bullets
 #+BEGIN_SRC emacs-lisp :tangle yes
-  (load-file "~/.emacs.d/lisp/org-bullets.el")
-  (require 'org-bullets)
-  (add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
+  (when (display-graphic-p)
+    (load-file "~/.emacs.d/lisp/org-bullets.el")
+    (require 'org-bullets)
+    (add-hook 'org-mode-hook (lambda ()
+                               (progn
+                                 (org-bullets-mode 1)))))
 #+END_SRC
 
 ** org-ellipsis