Create the defun, and add it to the safe functions list for howm-menu.
nil
howm-keyword-file))
+(defun re/howm-menu-legend ()
+ (cl-labels ((p (text face) (propertize text 'font-lock-face face)))
+ (concat (format "Top %s" howm-menu-todo-num)
+ " "
+ (p "!Deadline" howm-reminder-deadline-face)
+ "/"
+ (p "+ToDo" howm-reminder-todo-face)
+ "/"
+ (p "@Schedule" howm-reminder-schedule-face)
+ "/"
+ (p "~Defer" howm-reminder-defer-face)
+ "/"
+ (p "-Reminder" howm-reminder-normal-face)
+ " Entries:")))
+
(provide 're-howm-defuns)
;;; re-howm-defuns.el ends here
howm-remember-insertion-format "%s"
howm-menu-expiry-hours 1
howm-menu-refresh-after-save nil
- howm-menu-todo-num 20)
+ howm-menu-todo-num 20
+ howm-menu-allow (append '(re/howm-menu-legend) howm-menu-allow))
(add-hook 'after-save-hook 'howm-mode-set-buffer-name)
(add-hook 'howm-mode-hook 'howm-mode-set-buffer-name)
:bind