Move some forms.el example files to etc/forms directory

* etc/forms/README: New.

* etc/forms/forms-d2.dat: Move to etc/forms/ subdirectory.

* etc/forms/forms-d2.el, etc/forms/forms-pass.el: Move here from ../lisp.

* lisp/forms.el: Related comment change.
This commit is contained in:
Glenn Morris 2012-05-07 18:53:17 -04:00
parent 57699e3735
commit af8630f410
7 changed files with 13 additions and 4 deletions

View file

@ -1,3 +1,9 @@
2012-05-07 Glenn Morris <rgm@gnu.org>
* forms/forms-d2.el, forms/forms-pass.el: Move here from ../lisp.
* forms/forms-d2.dat: Move to forms/ subdirectory.
* forms/README: New.
2012-05-03 Paul Eggert <eggert@cs.ucla.edu>
* NEWS: Do not limit current-time-string to years 1000..9999.

1
etc/forms/README Normal file
View file

@ -0,0 +1 @@
This directory contains some example files for the forms.el library.

View file

@ -1,4 +1,4 @@
;;; forms-d2.el --- demo forms-mode -*- no-byte-compile: t -*-
;;; forms-d2.el --- demo forms-mode
;; Copyright (C) 1991, 1994-1997, 2001-2012 Free Software Foundation, Inc.
@ -27,7 +27,7 @@
;;; Code:
;; Set the name of the data file.
(setq forms-file (expand-file-name "forms-d2.dat" data-directory))
(setq forms-file (expand-file-name "forms/forms-d2.dat" data-directory))
;; Use 'forms-enumerate' to set field names and number thereof.
(setq forms-number-of-fields

View file

@ -1,4 +1,4 @@
;;; forms-pass.el --- passwd file demo for forms-mode -*- no-byte-compile: t -*-
;;; forms-pass.el --- passwd file demo for forms-mode
;; This file is part of GNU Emacs.

View file

@ -1,5 +1,7 @@
2012-05-07 Glenn Morris <rgm@gnu.org>
* forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
* international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>

View file

@ -21,7 +21,7 @@
;;; Commentary:
;; Visit a file using a form. See forms-d2.el for examples.
;; Visit a file using a form. See etc/forms for examples.
;;
;; === Naming conventions
;;