[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/forms.el
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/forms.el |
Date: |
Tue, 14 Jun 2005 07:30:22 -0400 |
Index: emacs/lisp/forms.el
diff -c emacs/lisp/forms.el:2.52 emacs/lisp/forms.el:2.53
*** emacs/lisp/forms.el:2.52 Thu May 26 12:50:09 2005
--- emacs/lisp/forms.el Tue Jun 14 11:30:22 2005
***************
*** 550,556 ****
(eq (length forms-multi-line) 1))
(if (string= forms-multi-line forms-field-sep)
(error (concat "Forms control file error: "
! "`forms-multi-line' is equal to
'forms-field-sep'")))
(error (concat "Forms control file error: "
"`forms-multi-line' must be nil or a one-character
string"))))
(or (fboundp 'set-text-properties)
--- 550,556 ----
(eq (length forms-multi-line) 1))
(if (string= forms-multi-line forms-field-sep)
(error (concat "Forms control file error: "
! "`forms-multi-line' is equal to
`forms-field-sep'")))
(error (concat "Forms control file error: "
"`forms-multi-line' must be nil or a one-character
string"))))
(or (fboundp 'set-text-properties)
***************
*** 1207,1213 ****
;; Need a file to do this.
(if (not (file-exists-p forms-file))
! (error "Need existing file or explicit 'forms-number-of-records'")
;; Visit the file and extract the first record.
(setq forms--file-buffer (find-file-noselect forms-file))
--- 1207,1213 ----
;; Need a file to do this.
(if (not (file-exists-p forms-file))
! (error "Need existing file or explicit `forms-number-of-fields'")
;; Visit the file and extract the first record.
(setq forms--file-buffer (find-file-noselect forms-file))
***************
*** 1983,1989 ****
(goto-char (aref forms--markers (1- (length forms--markers)))))))
(defun forms-print ()
! "Send the records to the printer with 'print-buffer', one record per page."
(interactive)
(let ((inhibit-read-only t)
(save-record forms--current-record)
--- 1983,1989 ----
(goto-char (aref forms--markers (1- (length forms--markers)))))))
(defun forms-print ()
! "Send the records to the printer with `print-buffer', one record per page."
(interactive)
(let ((inhibit-read-only t)
(save-record forms--current-record)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/forms.el,
Juanma Barranquero <=