From: Stefan Monnier Date: Wed, 28 May 2008 17:37:04 +0000 (+0000) Subject: (jka-compr-write-region): Typo. X-Git-Tag: emacs-pretest-23.0.90~5241 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5e84e8f9ac86bba843557c809ca879acc63db4c9;p=emacs.git (jka-compr-write-region): Typo. --- diff --git a/lisp/jka-compr.el b/lisp/jka-compr.el index a5792ed25b5..fe7adb92c1d 100644 --- a/lisp/jka-compr.el +++ b/lisp/jka-compr.el @@ -273,9 +273,9 @@ There should be no more than seven characters after the final `/'." (equal (if (stringp start) (substring start 0 (min (length start) (length magic))) - (let ((from (or start (point-min))) - (to (min (or end (point-max)) - (+ from (length magic))))) + (let* ((from (or start (point-min))) + (to (min (or end (point-max)) + (+ from (length magic))))) (buffer-substring from to))) magic)))) (let ((can-append (jka-compr-info-can-append info))