aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/forms.el
diff options
context:
space:
mode:
authorKarl Heuer1996-01-25 06:16:34 +0000
committerKarl Heuer1996-01-25 06:16:34 +0000
commit60a37dc67dc98ce7aeeae4eacc29f3bde0333536 (patch)
tree235d453643dc95b9821e1a10045ea3b75c8b42f2 /lisp/forms.el
parente9b81433a2113d0c31b2d9dc9ab4c093eacb0397 (diff)
downloademacs-60a37dc67dc98ce7aeeae4eacc29f3bde0333536.tar.gz
emacs-60a37dc67dc98ce7aeeae4eacc29f3bde0333536.zip
(forms-mode, forms-toggle-read-only): Fix message text.
(forms-search-forward, forms-search-backward): Likewise.
Diffstat (limited to 'lisp/forms.el')
-rw-r--r--lisp/forms.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/forms.el b/lisp/forms.el
index c82c822ec30..32a0884a19c 100644
--- a/lisp/forms.el
+++ b/lisp/forms.el
@@ -289,10 +289,10 @@
289(provide 'forms) ;;; official 289(provide 'forms) ;;; official
290(provide 'forms-mode) ;;; for compatibility 290(provide 'forms-mode) ;;; for compatibility
291 291
292(defconst forms-version (substring "$Revision: 2.25 $" 11 -2) 292(defconst forms-version (substring "$Revision: 2.26 $" 11 -2)
293 "The version number of forms-mode (as string). The complete RCS id is: 293 "The version number of forms-mode (as string). The complete RCS id is:
294 294
295 $Id: forms.el,v 2.25 1996/01/14 07:34:30 erik Exp kwzh $") 295 $Id: forms.el,v 2.26 1996/01/25 00:54:17 kwzh Exp kwzh $")
296 296
297(defvar forms-mode-hooks nil 297(defvar forms-mode-hooks nil
298 "Hook functions to be run upon entering Forms mode.") 298 "Hook functions to be run upon entering Forms mode.")
@@ -669,8 +669,8 @@ Commands: Equivalent keys in read-only mode:
669 (insert 669 (insert
670 "GNU Emacs Forms Mode version " forms-version "\n\n" 670 "GNU Emacs Forms Mode version " forms-version "\n\n"
671 (if (file-exists-p forms-file) 671 (if (file-exists-p forms-file)
672 (concat "No records available in file \"" forms-file "\".\n\n") 672 (concat "No records available in file `" forms-file "'\n\n")
673 (format "Creating new file \"%s\"\nwith %d field%s per record.\n\n" 673 (format "Creating new file `%s'\nwith %d field%s per record\n\n"
674 forms-file forms-number-of-fields 674 forms-file forms-number-of-fields
675 (if (= 1 forms-number-of-fields) "" "s"))) 675 (if (= 1 forms-number-of-fields) "" "s")))
676 "Use " (substitute-command-keys "\\[forms-insert-record]") 676 "Use " (substitute-command-keys "\\[forms-insert-record]")
@@ -1724,7 +1724,7 @@ Otherwise enables edit mode if the visited file is writable."
1724 buffer-read-only) 1724 buffer-read-only)
1725 (progn 1725 (progn
1726 (setq forms-read-only t) 1726 (setq forms-read-only t)
1727 (message "No write access to \"%s\"" forms-file) 1727 (message "No write access to `%s'" forms-file)
1728 (beep)) 1728 (beep))
1729 (setq forms-read-only nil)) 1729 (setq forms-read-only nil))
1730 (if (equal ro forms-read-only) 1730 (if (equal ro forms-read-only)
@@ -1833,7 +1833,7 @@ it is called to fill (some of) the fields with default values."
1833 (if (null (re-search-forward regexp nil t)) 1833 (if (null (re-search-forward regexp nil t))
1834 (progn 1834 (progn
1835 (goto-char here) 1835 (goto-char here)
1836 (message "\"%s\" not found." regexp) 1836 (message "\"%s\" not found" regexp)
1837 nil) 1837 nil)
1838 (setq the-record (forms--get-record)) 1838 (setq the-record (forms--get-record))
1839 (setq the-line (1+ (count-lines (point-min) (point)))))) 1839 (setq the-line (1+ (count-lines (point-min) (point))))))
@@ -1865,7 +1865,7 @@ it is called to fill (some of) the fields with default values."
1865 (if (null (re-search-backward regexp nil t)) 1865 (if (null (re-search-backward regexp nil t))
1866 (progn 1866 (progn
1867 (goto-char here) 1867 (goto-char here)
1868 (message "\"%s\" not found." regexp) 1868 (message "\"%s\" not found" regexp)
1869 nil) 1869 nil)
1870 (setq the-record (forms--get-record)) 1870 (setq the-record (forms--get-record))
1871 (setq the-line (1+ (count-lines (point-min) (point)))))) 1871 (setq the-line (1+ (count-lines (point-min) (point))))))