emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] lisp/org.el: Allow hiding #+SUBTITLE: keyword via `org-hidden-ke


From: Kyle Meyer
Subject: [PATCH] lisp/org.el: Allow hiding #+SUBTITLE: keyword via `org-hidden-keywords'
Date: Mon, 16 Nov 2020 00:33:18 -0500

Titus von der Malsburg writes:

> Subject: [PATCH] lisp/org.el: Allow hiding #+SUBTITLE: keyword via
>  `org-hidden-keywords'
>
> * lisp/org.el: Allow users to include 'subtitle in
> `org-hidden-keywords' to hide #+SUBTITLE: keyword.
>
> This way #+SUBTITLE is treated like similar keywords for title, date,
> e-mail, and author.

Thanks, sounds good.

> ---
>  lisp/org.el | 1 +
>  1 file changed, 1 insertion(+)

Could you add an entry to ORG-NEWS?

> diff --git a/lisp/org.el b/lisp/org.el
> index 73b270712..0d2fbddda 100644
> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -3573,6 +3573,7 @@ appear in the buffer without the initial \"#+TITLE:\" 
> part."
>    :type '(set (const :tag "#+AUTHOR" author)
>             (const :tag "#+DATE" date)
>             (const :tag "#+EMAIL" email)
> +           (const :tag "#+SUBTITLE" subtitle)
>             (const :tag "#+TITLE" title)))

Please add

    :package-version '(Org . "9.5")

dropping the current ':version "24.1"'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]