diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-03-06 02:02:51 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-03-06 02:02:51 -0500 |
commit | 1e7bc9f3ff362f53a87c02999ea6928535770c65 (patch) | |
tree | 34d0460456bc11736c44890a649f9ad39025ef11 /bog.el | |
parent | a9928fc5a23f05ac7eeada1dd9ed3e2d7a2514db (diff) | |
download | bog-1e7bc9f3ff362f53a87c02999ea6928535770c65.tar.gz |
Avoid infinite recursion when exit Bog View mode
Diffstat (limited to 'bog.el')
-rw-r--r-- | bog.el | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1360,7 +1360,8 @@ if ARG is omitted or nil. (t (remove-hook 'org-font-lock-hook 'bog-fontify-non-heading-citekeys) (font-lock-fontify-buffer) - (bog-view-mode -1)))) + (when (bound-and-true-p bog-view-mode) + (bog-view-mode -1))))) ;;; View minor mode |