From 9cc97703de99358f91f146879c8d05c8b3dd0a0e Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Fri, 22 Nov 2019 15:23:12 +0100 Subject: [PATCH] fix org-bullets for console --- bba.org | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 -- 2.47.3