]> git.eshelyaron.com Git - emacs.git/commit
Allow doc-view to open password-protected PDF files (bug#33684)
authorFederico Tedin <federicotedin@gmail.com>
Sun, 3 Feb 2019 16:48:31 +0000 (13:48 -0300)
committerTassilo Horn <tsdh@gnu.org>
Mon, 4 Feb 2019 15:47:00 +0000 (16:47 +0100)
commitd5f629d193ffe88c464379f02dd2adaadc9dfdf0
tree01e4cc7e6efa8a4fb99fb14d512ad88cc0388933
parentd6f430cb88bc4c395c1ce9f405a938699491b517
Allow doc-view to open password-protected PDF files (bug#33684)

* lisp/doc-view.el (doc-view-ghostscript-options): Removed "-sDEVICE"
option.
(doc-view-ghostscript-device): New customizable variable, passed as
"-sDEVICE" option to GhostScript.
(doc-view-pdf-password-protected-ghostscript-p): New function.
(doc-view-pdf->png-converter-ghostscript): Can now open
password-protected PDF files.
(doc-view-pdfdraw-program-subcommand): New function.
(doc-view-pdf-password-protected-pdfdraw-p): New function.
(doc-view-pdf->png-converter-mupdf): Can now open password-protected
PDF files.
* etc/NEWS: Mention new doc-view-mode feature.
etc/NEWS
lisp/doc-view.el