We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e250376 + 2cca44b commit 1576fc9Copy full SHA for 1576fc9
pdfgrep.el
@@ -44,6 +44,11 @@
44
"PDFGrep ignore case option."
45
:type '(boolean))
46
47
+(defcustom pdfgrep-options " -H -n "
48
+ "Default options appended to `pdfgrep-program' when invoking the command.
49
+Not including `pdfgrep-ignore-case'."
50
+ :type '(string))
51
+
52
(defcustom pdfgrep-ignore-errors nil
53
"Redirect pdfgrep command errors to /dev/null."
54
@@ -56,7 +61,7 @@
56
61
57
62
(defun pdfgrep-default-command ()
58
63
"Compute the default pdfgrep command for `pdfgrep'."
59
- (let ((cmd (concat pdfgrep-program " -H -n "
64
+ (let ((cmd (concat pdfgrep-program pdfgrep-options
60
65
(when pdfgrep-ignore-case
66
"-i "))))
67
(if pdfgrep-ignore-errors
0 commit comments