X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fsha1.el;h=0d97ac6ce4b639e4bc600c5c40f841ca49bacc58;hb=fe6fc4cac9d358928dbb8739e9be1dfc7cfe911f;hp=9fe327e514e859041e656daf026db4026c779b85;hpb=dc141b4205459e04b0137eadb38aa2a737ed63ec;p=gnus diff --git a/lisp/sha1.el b/lisp/sha1.el index 9fe327e51..0d97ac6ce 100644 --- a/lisp/sha1.el +++ b/lisp/sha1.el @@ -1,7 +1,7 @@ ;;; sha1.el --- SHA1 Secure Hash Algorithm in Emacs-Lisp ;; Copyright (C) 1999, 2001, 2002, 2003, 2004, -;; 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. ;; Author: Shuhei KOBAYASHI ;; Keywords: SHA1, FIPS 180-1 @@ -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) @@ -439,5 +439,4 @@ If BINARY is non-nil, return a string in binary form." (provide 'sha1) -;; arch-tag: c0f9abd0-ffc1-4557-aac6-ece7f2d4c901 ;;; sha1.el ends here