X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2Fsha1.el;h=2a2fb112d5358a00a7454db7be5d12018650cfb5;hb=5beb390633ce1e32cdf319c6ba19926244bbfdf2;hp=1db7a2835f4339ec22a670859cc30b679f36438c;hpb=9a8731d6dea8021a10dec1b42f382609336a9aa9;p=gnus diff --git a/lisp/sha1.el b/lisp/sha1.el index 1db7a2835..2a2fb112d 100644 --- a/lisp/sha1.el +++ b/lisp/sha1.el @@ -1,7 +1,6 @@ ;;; sha1.el --- SHA1 Secure Hash Algorithm in Emacs-Lisp -;; Copyright (C) 1999, 2001, 2002, 2003, 2004, -;; 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +;; Copyright (C) 1999, 2001-2012 Free Software Foundation, Inc. ;; Author: Shuhei KOBAYASHI ;; Keywords: SHA1, FIPS 180-1 @@ -95,7 +94,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 +438,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