aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2006-09-22 21:35:30 +0000
committerJuanma Barranquero2006-09-22 21:35:30 +0000
commitda37d01fcedaa3594fe4141d3d89df159238c2d6 (patch)
treed750bf0f4cab022f7cd9df3b8a0baccaf9841625
parent8cc8239e5e33846c4d74b0a5d89429ff6daa0177 (diff)
downloademacs-da37d01fcedaa3594fe4141d3d89df159238c2d6.tar.gz
emacs-da37d01fcedaa3594fe4141d3d89df159238c2d6.zip
(woman0-so): Use `let*', not `let'.
(woman-horizontal-line): Remove unbalanced parenthesis.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/woman.el8
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 89d22c0bb5a..61046f58917 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12006-09-22 Juanma Barranquero <lekktu@gmail.com>
2
3 * woman.el (woman0-so): Use `let*', not `let'.
4 (woman-horizontal-line): Remove unbalanced parenthesis.
5
12006-09-22 Stefan Monnier <monnier@iro.umontreal.ca> 62006-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * woman.el: Make sure all the end-of-region markers we use have 8 * woman.el: Make sure all the end-of-region markers we use have
diff --git a/lisp/woman.el b/lisp/woman.el
index 55396f607eb..13fa3147487 100644
--- a/lisp/woman.el
+++ b/lisp/woman.el
@@ -2657,9 +2657,9 @@ If DELETE is non-nil then delete from point."
2657 (error "File `%s' not found" name)) 2657 (error "File `%s' not found" name))
2658 (beginning-of-line) 2658 (beginning-of-line)
2659 (woman-delete-line 1) 2659 (woman-delete-line 1)
2660 (let ((from (point)) 2660 (let* ((from (point))
2661 (length (woman-insert-file-contents filename 0)) 2661 (length (woman-insert-file-contents filename 0))
2662 (to (copy-marker (+ from length) t))) 2662 (to (copy-marker (+ from length) t)))
2663 (woman-pre-process-region from to) 2663 (woman-pre-process-region from to)
2664 (set-marker to nil) 2664 (set-marker to nil)
2665 (goto-char from) 2665 (goto-char from)
@@ -3971,7 +3971,7 @@ Optional argument NUMERIC, if non-nil, means the argument is numeric."
3971 (delete-char 1) 3971 (delete-char 1)
3972 (looking-at "\\(.\\)\\(.*\\)\\1") 3972 (looking-at "\\(.\\)\\(.*\\)\\1")
3973 (forward-char 1) 3973 (forward-char 1)
3974 (let* ((to (match-end 2))) 3974 (let* ((to (match-end 2))
3975 (from (match-beginning 0)) 3975 (from (match-beginning 0))
3976 (N (woman-parse-numeric-arg)) 3976 (N (woman-parse-numeric-arg))
3977 (c (if (< (point) to) (following-char) ?_))) 3977 (c (if (< (point) to) (following-char) ?_)))