branch: elpa
commit 2ebd71de819d18d153c4b3f18dcb39ce9f245c86
Author: Ivan Andrus <[email protected]>
Commit: Ivan Andrus <[email protected]>

    Fix bug in `preview-LaTeX-disable-pdfoutput'
    
    * preview.el.in (preview-LaTeX-disable-pdfoutput): Allow one or more
    spaces between command line arguments.
---
 preview.el.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/preview.el.in b/preview.el.in
index 2eee66e..8a58104 100644
--- a/preview.el.in
+++ b/preview.el.in
@@ -3207,8 +3207,8 @@ and strings get evaluated as replacement strings."
 
 (defconst preview-LaTeX-disable-pdfoutput
   '(("\\`\\(pdf[^ ]*\\)\
-\\(\\( [-&]\\([^ \"]\\|\"[^\"]*\"\\)*\\|\
- \"[-&][^\"]*\"\\)*\\)\\(.*\\)\\'"
+\\(\\( +[-&]\\([^ \"]\\|\"[^\"]*\"\\)*\\|\
+ +\"[-&][^\"]*\"\\)*\\)\\(.*\\)\\'"
    . ("\\1\\2 \"\\\\pdfoutput=0 \" \\5")))
   "This replacement places `\"\\pdfoutput=0 \"' after the options
 of any command starting with `pdf'.")

Reply via email to