diff --git a/README.org b/README.org index 5b63bbc..868c92f 100644 --- a/README.org +++ b/README.org @@ -239,7 +239,8 @@ As explained in the usage instructions and shown in the example, items are colle ** 1.4-pre -Nothing new yet. +*Additions* ++ Option ~org-super-agenda-show-message~ allows disabling of the message shown when the mode is enabled. (Thanks to [[https://github.com/hpfr][Liam Hupfer]].) ** 1.3 diff --git a/org-super-agenda.el b/org-super-agenda.el index f30cbb2..76d3723 100644 --- a/org-super-agenda.el +++ b/org-super-agenda.el @@ -164,6 +164,10 @@ origin (e.g. Org QL's link-handling code).") :group 'org :link '(url-link "http://github.com/alphapapa/org-super-agenda")) +(defcustom org-super-agenda-show-message t + "Show a message when `org-super-agenda-mode' is toggled." + :type 'boolean) + (defcustom org-super-agenda-groups nil "List of groups to apply to agenda views. See readme for information." @@ -369,9 +373,10 @@ With prefix argument ARG, turn on if positive, otherwise off." (add-to-list 'org-agenda-local-vars 'org-super-agenda-groups) (setq org-agenda-local-vars (remove 'org-super-agenda-groups org-agenda-local-vars))) ;; Display message - (message (if org-super-agenda-mode - "org-super-agenda-mode enabled." - "org-super-agenda-mode disabled.")))) + (when org-super-agenda-show-message + (message (if org-super-agenda-mode + "org-super-agenda-mode enabled." + "org-super-agenda-mode disabled."))))) ;;;; Group selectors diff --git a/org-super-agenda.info b/org-super-agenda.info index 69afb34..ad2b506 100644 --- a/org-super-agenda.info +++ b/org-super-agenda.info @@ -563,7 +563,10 @@ File: README.info, Node: 14-pre, Next: 13, Up: Changelog 7.1 1.4-pre =========== -Nothing new yet. +*Additions* + • Option ‘org-super-agenda-show-message’ allows disabling of the + message shown when the mode is enabled. (Thanks to Liam Hupfer + (https://github.com/hpfr).)  File: README.info, Node: 13, Next: 12, Prev: 14-pre, Up: Changelog @@ -822,18 +825,18 @@ Node: Why are some items not displayed even though I used group selectors for th Node: Why did a group disappear when I moved it to the end of the list?20892 Node: Changelog21473 Node: 14-pre21711 -Node: 1321817 -Node: 1223380 -Node: 11126050 -Node: 1126225 -Node: 10327809 -Node: 10228020 -Node: 10128154 -Node: 10028492 -Node: Development28597 -Node: Bugs28999 -Node: Tests29693 -Node: Credits30030 +Node: 1321988 +Node: 1223551 +Node: 11126221 +Node: 1126396 +Node: 10327980 +Node: 10228191 +Node: 10128325 +Node: 10028663 +Node: Development28768 +Node: Bugs29170 +Node: Tests29864 +Node: Credits30201  End Tag Table