summaryrefslogtreecommitdiff
path: root/lisp/jka-compr.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2008-05-28 17:37:04 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2008-05-28 17:37:04 +0000
commit5e84e8f9ac86bba843557c809ca879acc63db4c9 (patch)
treec76689799c1bef14634052b77ebd87e861014aa4 /lisp/jka-compr.el
parentba2b460a1b620f1e71928e9e2777fb0261e22ea2 (diff)
downloademacs-5e84e8f9ac86bba843557c809ca879acc63db4c9.tar.gz
(jka-compr-write-region): Typo.
Diffstat (limited to 'lisp/jka-compr.el')
-rw-r--r--lisp/jka-compr.el6
1 files changed, 3 insertions, 3 deletions
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))