diff options
author | Leon Rische <leon.rische@me.com> | 2020-11-10 08:47:12 +0100 |
---|---|---|
committer | Leon Rische <leon.rische@me.com> | 2020-11-10 08:47:12 +0100 |
commit | 359b5c5dd519db37dfab4968ddcfe1dde22cae97 (patch) | |
tree | e03515ea648714be0489fa08576e122cbc7f2857 /org-fc.el | |
parent | 4670413c11dd2d649010ca41deb553dfd50f64a8 (diff) |
Enable org-fc modes in modes derived from org-mode
Diffstat (limited to 'org-fc.el')
-rw-r--r-- | org-fc.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1168,7 +1168,7 @@ removed." ;; Make sure only one of the modes is active at a time (org-fc-review-rate-mode -1) ;; Make sure we're in org mode and there is an active review session - (unless (and (eq major-mode 'org-mode) org-fc--session) + (unless (and (derived-mode-p 'org-mode) org-fc--session) (org-fc-review-flip-mode -1)))) ;;;;; Rate Mode @@ -1197,7 +1197,7 @@ removed." ;; Make sure only one of the modes is active at a time (org-fc-review-flip-mode -1) ;; Make sure we're in org mode and there is an active review session - (unless (and (eq major-mode 'org-mode) org-fc--session) + (unless (and (derived-mode-p 'org-mode) org-fc--session) (org-fc-review-rate-mode -1)))) (defvar org-fc-review-edit-mode-map @@ -1219,7 +1219,7 @@ removed." (org-fc-review-flip-mode -1) (org-fc-review-rate-mode -1) ;; Make sure we're in org mode and there is an active review session - (unless (and (eq major-mode 'org-mode) org-fc--session) + (unless (and (derived-mode-p 'org-mode) org-fc--session) (org-fc-review-edit-mode -1)))) ;;;; Main Loop |