]> code.delx.au - gnu-emacs/blobdiff - lisp/forms-d2.el
(add-log-buffer-file-name-function): Add defvar.
[gnu-emacs] / lisp / forms-d2.el
index 22331292e142a4871b7552691f5469a77dcff925..63b47fc028d1384bf774de373edace5684aaa0ef 100644 (file)
@@ -1,10 +1,16 @@
-;;; forms-d2.el --- demo forms-mode
+;;; forms-d2.el --- demo forms-mode -*- no-byte-compile: t -*-
 
 ;; Author: Johan Vromans <jvromans@squirrel.nl>
 ;; Created: 1989
 
+;; This file is part of GNU Emacs.
+
+;;; Commentary:
+
 ;; This sample forms exploit most of the features of forms mode.
 
+;;; Code:
+
 ;; Set the name of the data file.
 (setq forms-file "forms-d2.dat")
 
 ;; The following functions are used by this form for layout purposes.
 ;;
 (defun arch-tocol (target &optional fill)
-  "Produces a string to skip to column TARGET. Prepends newline if needed.
+  "Produces a string to skip to column TARGET.  Prepends newline if needed.
 The optional FILL should be a character, used to fill to the column."
   (if (null fill)
-      (setq fill ? ))
+      (setq fill ?\s))
   (if (< target (current-column))
       (concat "\n" (make-string target fill))
     (make-string (- target (current-column)) fill)))
 ;;
-(defun arch-rj (target field &optional fill) 
+(defun arch-rj (target field &optional fill)
   "Produces a string to skip to column TARGET minus the width of field FIELD.
-Prepends newline if needed. The optional FILL should be a character,
+Prepends newline if needed.  The optional FILL should be a character,
 used to fill to the column."
   (arch-tocol (- target (length (nth field forms-fields))) fill))
 
@@ -78,3 +84,6 @@ used to fill to the column."
      ))
 
 ;; That's all, folks!
+
+;;; arch-tag: 8e5d5dac-7abf-4722-ab5e-03eb749beaca
+;;; forms-d2.el ends here