aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2005-06-14 11:30:22 +0000
committerJuanma Barranquero2005-06-14 11:30:22 +0000
commit841edf8d67d3f0c81975ee7d9b83885dd0af434f (patch)
tree95741cd146e27cc1ff3359b02366b80ebb4912d8
parent99b5aab79cc5a4c9ef98714d2081d963c2ee7119 (diff)
downloademacs-841edf8d67d3f0c81975ee7d9b83885dd0af434f.tar.gz
emacs-841edf8d67d3f0c81975ee7d9b83885dd0af434f.zip
(forms--intuit-from-file): Fix reference to `forms-number-of-fields' in error message.
(forms-print): Fix quoting in error message. (forms-mode): Fix quoting in docstring.
-rw-r--r--lisp/forms.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/forms.el b/lisp/forms.el
index 57985a7297f..d1c5b0c5fd9 100644
--- a/lisp/forms.el
+++ b/lisp/forms.el
@@ -550,7 +550,7 @@ Commands: Equivalent keys in read-only mode:
550 (eq (length forms-multi-line) 1)) 550 (eq (length forms-multi-line) 1))
551 (if (string= forms-multi-line forms-field-sep) 551 (if (string= forms-multi-line forms-field-sep)
552 (error (concat "Forms control file error: " 552 (error (concat "Forms control file error: "
553 "`forms-multi-line' is equal to 'forms-field-sep'"))) 553 "`forms-multi-line' is equal to `forms-field-sep'")))
554 (error (concat "Forms control file error: " 554 (error (concat "Forms control file error: "
555 "`forms-multi-line' must be nil or a one-character string")))) 555 "`forms-multi-line' must be nil or a one-character string"))))
556 (or (fboundp 'set-text-properties) 556 (or (fboundp 'set-text-properties)
@@ -1207,7 +1207,7 @@ Commands: Equivalent keys in read-only mode:
1207 1207
1208 ;; Need a file to do this. 1208 ;; Need a file to do this.
1209 (if (not (file-exists-p forms-file)) 1209 (if (not (file-exists-p forms-file))
1210 (error "Need existing file or explicit 'forms-number-of-records'") 1210 (error "Need existing file or explicit `forms-number-of-fields'")
1211 1211
1212 ;; Visit the file and extract the first record. 1212 ;; Visit the file and extract the first record.
1213 (setq forms--file-buffer (find-file-noselect forms-file)) 1213 (setq forms--file-buffer (find-file-noselect forms-file))
@@ -1983,7 +1983,7 @@ after writing out the data."
1983 (goto-char (aref forms--markers (1- (length forms--markers))))))) 1983 (goto-char (aref forms--markers (1- (length forms--markers)))))))
1984 1984
1985(defun forms-print () 1985(defun forms-print ()
1986 "Send the records to the printer with 'print-buffer', one record per page." 1986 "Send the records to the printer with `print-buffer', one record per page."
1987 (interactive) 1987 (interactive)
1988 (let ((inhibit-read-only t) 1988 (let ((inhibit-read-only t)
1989 (save-record forms--current-record) 1989 (save-record forms--current-record)