aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/forms-d2.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/forms-d2.el b/lisp/forms-d2.el
index 19164b6a6db..63b47fc028d 100644
--- a/lisp/forms-d2.el
+++ b/lisp/forms-d2.el
@@ -32,17 +32,17 @@
32;; The following functions are used by this form for layout purposes. 32;; The following functions are used by this form for layout purposes.
33;; 33;;
34(defun arch-tocol (target &optional fill) 34(defun arch-tocol (target &optional fill)
35 "Produces a string to skip to column TARGET. Prepends newline if needed. 35 "Produces a string to skip to column TARGET. Prepends newline if needed.
36The optional FILL should be a character, used to fill to the column." 36The optional FILL should be a character, used to fill to the column."
37 (if (null fill) 37 (if (null fill)
38 (setq fill ? )) 38 (setq fill ?\s))
39 (if (< target (current-column)) 39 (if (< target (current-column))
40 (concat "\n" (make-string target fill)) 40 (concat "\n" (make-string target fill))
41 (make-string (- target (current-column)) fill))) 41 (make-string (- target (current-column)) fill)))
42;; 42;;
43(defun arch-rj (target field &optional fill) 43(defun arch-rj (target field &optional fill)
44 "Produces a string to skip to column TARGET minus the width of field FIELD. 44 "Produces a string to skip to column TARGET minus the width of field FIELD.
45Prepends newline if needed. The optional FILL should be a character, 45Prepends newline if needed. The optional FILL should be a character,
46used to fill to the column." 46used to fill to the column."
47 (arch-tocol (- target (length (nth field forms-fields))) fill)) 47 (arch-tocol (- target (length (nth field forms-fields))) fill))
48 48