summaryrefslogtreecommitdiff
path: root/org-fc-review.el
diff options
context:
space:
mode:
Diffstat (limited to 'org-fc-review.el')
-rw-r--r--org-fc-review.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/org-fc-review.el b/org-fc-review.el
index 2ca2627..d539439 100644
--- a/org-fc-review.el
+++ b/org-fc-review.el
@@ -66,6 +66,13 @@
:type 'hook
:group 'org-fc)
+(defcustom org-fc-review-hide-title-in-header-line nil
+ "Whether or not to hide the file title in review header line.
+
+Hide title for individual cards by adding the :notitle: tag."
+ :type 'boolean
+ :group 'org-fc)
+
;;; Variables
(defvar org-fc-review--session nil
@@ -481,7 +488,8 @@ removed."
(let* ((remaining (1+ (length (oref org-fc-review--session cards))))
(current (oref org-fc-review--session current-item))
(title
- (unless (member "notitle" (plist-get current :tags))
+ (unless (or org-fc-review-hide-title-in-header-line
+ (member "notitle" (plist-get current :tags)))
(plist-get current :filetitle))))
(setq org-fc-original-header-line-format header-line-format)
(setq-local