otherwise non-existent. process-connection-type pipe for touch of
efficiency recommended by elisp manual. (An aside in Bug#3911.)
* log-view.el: Add "Keywords: tools", since its other keywords
aren't in finder-known-keywords, and following vc.el.
+ * sha1.el (sha1-string-external): default-directory "/" in case
+ otherwise non-existent. process-connection-type pipe for touch of
+ efficiency recommended by elisp manual. (An aside in Bug#3911.)
+
2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
Misc coding convention cleanups.
:group 'sha1)
(defun sha1-string-external (string &optional binary)
- (let (prog args digest)
+ (let ((default-directory "/") ;; in case otherwise non-existent
+ (process-connection-type nil) ;; pipe
+ prog args digest)
(if (consp sha1-program)
(setq prog (car sha1-program)
args (cdr sha1-program))