mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-28 07:45:00 +00:00
* 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.)
This commit is contained in:
parent
c44a48223e
commit
9d58f08130
@ -3,6 +3,10 @@
|
||||
* 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.
|
||||
|
@ -86,7 +86,9 @@ If this variable is set to nil, use internal function only."
|
||||
: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))
|
||||
|
Loading…
Reference in New Issue
Block a user