aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2018-11-13 14:47:35 -0500
committerGlenn Morris2018-11-13 14:47:35 -0500
commit1b27c4890d68882ef27eabe9984b6f5cfcc1b265 (patch)
treea79b94c606a8f07632edd2d75100cc11deca026f
parent7e2a1543985a770c93c9825c661bbb9b51b5e36f (diff)
downloademacs-1b27c4890d68882ef27eabe9984b6f5cfcc1b265.tar.gz
emacs-1b27c4890d68882ef27eabe9984b6f5cfcc1b265.zip
No need to pass absolute program name to call-process
* lisp/doc-view.el (doc-view-revert-buffer): * lisp/net/eudcb-mab.el (eudc-mab-query-internal): Remove superfluous executable-find.
-rw-r--r--lisp/doc-view.el2
-rw-r--r--lisp/net/eudcb-mab.el3
2 files changed, 2 insertions, 3 deletions
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index 31e266fb50c..6f1143ba85a 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -452,7 +452,7 @@ Typically \"page-%s.png\".")
452 ;; file. (TODO: We'd like to have something like that also 452 ;; file. (TODO: We'd like to have something like that also
453 ;; for other types, at least PS, but I don't know a good way 453 ;; for other types, at least PS, but I don't know a good way
454 ;; to test if a PS file is complete.) 454 ;; to test if a PS file is complete.)
455 (if (= 0 (call-process (executable-find "pdfinfo") nil nil nil 455 (if (= 0 (call-process "pdfinfo" nil nil nil
456 doc-view--buffer-file-name)) 456 doc-view--buffer-file-name))
457 (revert) 457 (revert)
458 (when (called-interactively-p 'interactive) 458 (when (called-interactively-p 'interactive)
diff --git a/lisp/net/eudcb-mab.el b/lisp/net/eudcb-mab.el
index a69c77b7235..4d517c19954 100644
--- a/lisp/net/eudcb-mab.el
+++ b/lisp/net/eudcb-mab.el
@@ -61,8 +61,7 @@ RETURN-ATTRS is a list of attributes to return, defaulting to
61 (goto-char (point-min)) 61 (goto-char (point-min))
62 (when (or (eobp) (time-less-p eudc-buffer-time modified)) 62 (when (or (eobp) (time-less-p eudc-buffer-time modified))
63 (erase-buffer) 63 (erase-buffer)
64 (call-process (executable-find "contacts") nil t nil 64 (call-process "contacts" nil t nil "-H" "-l" "-f" fmt-string)
65 "-H" "-l" "-f" fmt-string)
66 (setq eudc-buffer-time modified)) 65 (setq eudc-buffer-time modified))
67 (goto-char (point-min)) 66 (goto-char (point-min))
68 (while (not (eobp)) 67 (while (not (eobp))