summaryrefslogtreecommitdiff
path: root/lisp/sha1.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/sha1.el')
-rw-r--r--lisp/sha1.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/sha1.el b/lisp/sha1.el
index 1db7a2835f4..351af62783e 100644
--- a/lisp/sha1.el
+++ b/lisp/sha1.el
@@ -95,7 +95,7 @@ If this variable is set to nil, use internal function only."
(setq prog sha1-program
args nil))
(with-temp-buffer
- (set-buffer-multibyte nil)
+ (unless (featurep 'xemacs) (set-buffer-multibyte nil))
(insert string)
(apply (function call-process-region)
(point-min) (point-max)