mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Add imenu support for ODF files in doc-view
* lisp/doc-view.el (doc-view--outline): Pass the right file to doc-view--pdf-outline. * doc/emacs/misc.texi (DocView Navigation): Mention support for Open Format Document (ODF) files too. * etc/NEWS: Announce the change. (bug#73719)
This commit is contained in:
parent
58bcd1dbe0
commit
9ddeeda8ce
3 changed files with 16 additions and 9 deletions
|
|
@ -2103,6 +2103,8 @@ If FILE-NAME is nil, use the current file instead."
|
|||
('djvu
|
||||
(when doc-view-djvused-program
|
||||
(doc-view--djvu-outline file-name)))
|
||||
('odf
|
||||
(doc-view--pdf-outline (doc-view-current-cache-doc-pdf)))
|
||||
(_
|
||||
(doc-view--pdf-outline file-name)))))
|
||||
(when outline (imenu-add-to-menubar "Outline"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue