aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2002-10-18 15:27:18 +0000
committerJuanma Barranquero2002-10-18 15:27:18 +0000
commita9645a6697106448d68dd24c68ee4f91e65a086b (patch)
treef104c9376dd60aaffd2a6ded845045d411310322
parent0479c919d60d0afb3537e337c49d69765b9d3741 (diff)
downloademacs-a9645a6697106448d68dd24c68ee4f91e65a086b.tar.gz
emacs-a9645a6697106448d68dd24c68ee4f91e65a086b.zip
(artist-ff-is-bottommost-line): Fix misplaced ELSE expression on IF.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/textmodes/artist.el27
2 files changed, 18 insertions, 14 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fdd6946162d..2cefa07b188 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12002-10-18 Juanma Barranquero <lektu@terra.es>
2
3 * textmodes/artist.el (artist-ff-is-bottommost-line): Fix misplaced
4 ELSE expression on IF.
5
12002-10-17 Juanma Barranquero <lektu@terra.es> 62002-10-17 Juanma Barranquero <lektu@terra.es>
2 7
3 * align.el (align-rules-list, align-exclude-rules-list): Fix typos. 8 * align.el (align-rules-list, align-exclude-rules-list): Fix typos.
diff --git a/lisp/textmodes/artist.el b/lisp/textmodes/artist.el
index 363077079ea..2b30d8f5fd2 100644
--- a/lisp/textmodes/artist.el
+++ b/lisp/textmodes/artist.el
@@ -147,7 +147,7 @@
147;; 147;;
148;; 1.2.2 19-Nov-2000 148;; 1.2.2 19-Nov-2000
149;; Changed: More documentation fixes. 149;; Changed: More documentation fixes.
150;; Bugfix: The arrow characters (`artist-arrows'), which 150;; Bugfix: The arrow characters (`artist-arrows'), which
151;; got wrong in 1.1, are now corrected. 151;; got wrong in 1.1, are now corrected.
152;; 152;;
153;; 1.2.1 15-Nov-2000 153;; 1.2.1 15-Nov-2000
@@ -202,7 +202,7 @@
202 nil) 202 nil)
203 (defmacro defface (var values doc &rest args) 203 (defmacro defface (var values doc &rest args)
204 `(make-face ,var)) 204 `(make-face ,var))
205 (defmacro defcustom (var value doc &rest args) 205 (defmacro defcustom (var value doc &rest args)
206 `(defvar ,var ,value ,doc)))) 206 `(defvar ,var ,value ,doc))))
207 207
208;; User options 208;; User options
@@ -446,7 +446,7 @@ strangely.")
446 "Char to use when filling.") 446 "Char to use when filling.")
447(make-variable-buffer-local 'artist-fill-char) 447(make-variable-buffer-local 'artist-fill-char)
448 448
449(defvar artist-erase-char ?\ 449(defvar artist-erase-char ?\
450 "Char to use when erasing.") 450 "Char to use when erasing.")
451(make-variable-buffer-local 'artist-erase-char) 451(make-variable-buffer-local 'artist-erase-char)
452 452
@@ -1766,7 +1766,7 @@ With optional argument N, returns Nth-to-last link (default 1)."
1766 (goto-char (point-min)) 1766 (goto-char (point-min))
1767 (delete-char (- (point-max) (point-min)) nil))) 1767 (delete-char (- (point-max) (point-min)) nil)))
1768 1768
1769 1769
1770(defun artist-system (program stdin &optional program-args) 1770(defun artist-system (program stdin &optional program-args)
1771 "Run PROGRAM synchronously with the contents of string STDIN to stdin. 1771 "Run PROGRAM synchronously with the contents of string STDIN to stdin.
1772Optional args PROGRAM-ARGS are arguments to PROGRAM. 1772Optional args PROGRAM-ARGS are arguments to PROGRAM.
@@ -2849,7 +2849,7 @@ in the buffer."
2849 (artist-replace-string (car string-list) see-thru) 2849 (artist-replace-string (car string-list) see-thru)
2850 (setq string-list (cdr string-list)) 2850 (setq string-list (cdr string-list))
2851 (setq i (1+ i))))) 2851 (setq i (1+ i)))))
2852 2852
2853(defun artist-text-insert-see-thru (x y text) 2853(defun artist-text-insert-see-thru (x y text)
2854 "At position X, Y, insert text TEXT. 2854 "At position X, Y, insert text TEXT.
2855Let text already in buffer shine thru the TEXT inserted." 2855Let text already in buffer shine thru the TEXT inserted."
@@ -2883,7 +2883,7 @@ Blanks in the rendered text overwrites any text in the buffer."
2883 2883
2884;; 2884;;
2885;; Spraying 2885;; Spraying
2886;; 2886;;
2887 2887
2888(defun artist-spray-get-interval () 2888(defun artist-spray-get-interval ()
2889 "Retrieves the interval for repeated spray." 2889 "Retrieves the interval for repeated spray."
@@ -3145,12 +3145,12 @@ through X1, Y1. An endpoint is a cons pair, (ENDPOINT-X . ENDPOINT-Y)."
3145;; the entire rectangle is vaporized. 3145;; the entire rectangle is vaporized.
3146;; 3146;;
3147;; Now, What if the `+' in the upper left and upper right corners, 3147;; Now, What if the `+' in the upper left and upper right corners,
3148;; had not been changed to `|' but to spaces instead? We would 3148;; had not been changed to `|' but to spaces instead? We would
3149;; have failed when popping (0,0) and vaporizing that line because 3149;; have failed when popping (0,0) and vaporizing that line because
3150;; we wouldn't find any line at (0,0): 3150;; we wouldn't find any line at (0,0):
3151;; 3151;;
3152;; 0123456 3152;; 0123456
3153;; 0 3153;; 0
3154;; 1| | 3154;; 1| |
3155;; 2| | 3155;; 2| |
3156;; 3+-----+ 3156;; 3+-----+
@@ -3663,9 +3663,8 @@ original contents of that area in the buffer."
3663 3663
3664 ;; Last line is empty, don't paint on it, report previous line 3664 ;; Last line is empty, don't paint on it, report previous line
3665 ;; as last line 3665 ;; as last line
3666 (>= y (- last-line 1))) 3666 (>= y (- last-line 1))
3667 (>= y last-line)))) 3667 (>= y last-line)))))
3668
3669 3668
3670(defun artist-flood-fill (x1 y1) 3669(defun artist-flood-fill (x1 y1)
3671 "Flood-fill starting at X1, Y1. Fill with the char in `artist-fill-char'." 3670 "Flood-fill starting at X1, Y1. Fill with the char in `artist-fill-char'."
@@ -4741,14 +4740,14 @@ If optional argument STATE is positive, turn borders on."
4741 (if (eq window-system 'x) 4740 (if (eq window-system 'x)
4742 (artist-set-pointer-shape artist-pointer-shape)) 4741 (artist-set-pointer-shape artist-pointer-shape))
4743 4742
4744 ;; Redefine the button-up binding temporarily (the original 4743 ;; Redefine the button-up binding temporarily (the original
4745 ;; binding is restored in the unwind-forms below). This is to 4744 ;; binding is restored in the unwind-forms below). This is to
4746 ;; avoid the phenomenon outlined in this scenario: 4745 ;; avoid the phenomenon outlined in this scenario:
4747 ;; 4746 ;;
4748 ;; 1. A routine which reads something from the mini-buffer (such 4747 ;; 1. A routine which reads something from the mini-buffer (such
4749 ;; as the text renderer) is called from below. 4748 ;; as the text renderer) is called from below.
4750 ;; 2. Meanwhile, the users releases the mouse button. 4749 ;; 2. Meanwhile, the users releases the mouse button.
4751 ;; 3. As a (funny :-) coincidence, the binding for the 4750 ;; 3. As a (funny :-) coincidence, the binding for the
4752 ;; button-up event is often mouse-set-point, so Emacs 4751 ;; button-up event is often mouse-set-point, so Emacs
4753 ;; sets the point to where the button was released, which is 4752 ;; sets the point to where the button was released, which is
4754 ;; in the buffer where the user wants to place the text. 4753 ;; in the buffer where the user wants to place the text.