Browse Source

Hide emphasis markers in org tree slide mode

master
WolfeCub 2 years ago
parent
commit
7949e13869
1 changed files with 7 additions and 4 deletions
  1. 7
    4
      emacs/.emacs.d/README.org

+ 7
- 4
emacs/.emacs.d/README.org View File

@@ -935,10 +935,13 @@ repeatedly creates a transient map replacing the controls regardless of my evil
(add-hook 'org-tree-slide-mode-hook
(lambda ()
(if org-tree-slide-mode
(progn
(setq wolfe--enable-transient-map t)
(wolfe/org-tree-set-transient-map))
(setq wolfe--enable-transient-map nil)))))
;; When mode is enabled
(progn (setq org-hide-emphasis-markers t
wolfe--enable-transient-map t)
(wolfe/org-tree-set-transient-map))
;; When mode is disabled
(setq org-hide-emphasis-markers nil
wolfe--enable-transient-map nil)))))
#+END_SRC

* Keymaps

Loading…
Cancel
Save