From: Glenn Morris Date: Mon, 7 May 2012 23:02:28 +0000 (-0400) Subject: * doc/misc/forms.texi (Long Example): Update for changed location of files. X-Git-Tag: emacs-24.2.90~471^2~161 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6f0652af038234beb67768937d9a8033fa06444b;p=emacs.git * doc/misc/forms.texi (Long Example): Update for changed location of files. --- diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index d92e7585b17..72e784f1f8d 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -1,3 +1,7 @@ +2012-05-07 Glenn Morris + + * forms.texi (Long Example): Update for changed location of files. + 2012-05-04 Glenn Morris * Makefile.in (INFO_EXT, INFO_OPTS): New, set by configure. diff --git a/doc/misc/forms.texi b/doc/misc/forms.texi index 34c418c14fd..bcb8d8974ea 100644 --- a/doc/misc/forms.texi +++ b/doc/misc/forms.texi @@ -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