]> git.eshelyaron.com Git - emacs.git/commitdiff
* doc/misc/forms.texi (Long Example): Update for changed location of files.
authorGlenn Morris <rgm@gnu.org>
Mon, 7 May 2012 23:02:28 +0000 (19:02 -0400)
committerGlenn Morris <rgm@gnu.org>
Mon, 7 May 2012 23:02:28 +0000 (19:02 -0400)
doc/misc/ChangeLog
doc/misc/forms.texi

index d92e7585b173d7a4d5ccb30313c463ddd195fe3d..72e784f1f8df031dfad24c6af1feb147d448a541 100644 (file)
@@ -1,3 +1,7 @@
+2012-05-07  Glenn Morris  <rgm@gnu.org>
+
+       * forms.texi (Long Example): Update for changed location of files.
+
 2012-05-04  Glenn Morris  <rgm@gnu.org>
 
        * Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure.
index 34c418c14fd0e4ccebad4c7e1ed666e38dda0fda..bcb8d8974ea19d7d9ca439e05257d4233d2b6dde 100644 (file)
@@ -861,7 +861,7 @@ you said `no'.
 @chapter Long Example
 
 The following example exploits most of the features of Forms mode.
-This example is included in the distribution as file @file{forms-d2.el}.
+This example is included in the distribution as file @file{etc/forms/forms-d2.el}.
 
 @example
 ;; demo2 -- demo forms-mode     -*- emacs-lisp -*-
@@ -869,7 +869,8 @@ This example is included in the distribution as file @file{forms-d2.el}.
 ;; @r{This sample forms exploit most of the features of forms mode.}
 
 ;; @r{Set the name of the data file.}
-(setq forms-file "forms-d2.dat")
+(setq forms-file
+       (expand-file-name "forms/forms-d2.dat" data-directory))
 
 ;; @r{Use @code{forms-enumerate} to set field names and number thereof.}
 (setq forms-number-of-fields