[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] bug#28999: 25.3.50; org export : exclude-tags not working with org-e
From: |
Kyle Meyer |
Subject: |
[O] bug#28999: 25.3.50; org export : exclude-tags not working with org-export-filter-options-functions |
Date: |
Wed, 25 Oct 2017 13:59:29 -0400 |
Michel Damiens <address@hidden> writes:
> Adding :
>
> (defun my-org-export-change-options (plist backend)
> (cond
> ((equal backend 'html)
> (plist-put plist :exclude-tags "NOHTML")
> (plist-put plist :select-tags "HTML"))
> ((equal backend 'latex)
> (plist-put plist :exclude-tags "NOLATEX")
> (plist-put plist :select-tags "LATEX")))
> plist)
>
> (add-to-list 'org-export-filter-options-functions
> 'my-org-export-change-options)
>
> to my init.el file doesn't work : headers with NOHTML tag are exported
> to html, using the export dispatcher (C-c C-e h H)
Shouldn't the values should be a list of strings rather than a single
string? (Is this something that used to work for you?)
Also, I think you should use plist-put's return value rather than
relying on the input being modified.
--
Kyle
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] bug#28999: 25.3.50; org export : exclude-tags not working with org-export-filter-options-functions,
Kyle Meyer <=