From: Andreas Gerler Date: Fri, 22 Nov 2019 14:23:12 +0000 (+0100) Subject: fix org-bullets for console X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=9cc97703de99358f91f146879c8d05c8b3dd0a0e;p=emacsconfig.git fix org-bullets for console --- diff --git a/bba.org b/bba.org index a94aa6ca..b8c1127a 100644 --- 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