From 6f0652af038234beb67768937d9a8033fa06444b Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Mon, 7 May 2012 19:02:28 -0400 Subject: [PATCH] * doc/misc/forms.texi (Long Example): Update for changed location of files. --- doc/misc/ChangeLog | 4 ++++ doc/misc/forms.texi | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 -- 2.39.2