aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2007-06-27 23:29:26 +0000
committerRichard M. Stallman <[email protected]>2007-06-27 23:29:26 +0000
commita3da9a06fda549e8f74772369c8f97c17d928da7 (patch)
tree1dc53d993d94fafe37bfe1bfa717d9d02ee1258a /lispref
parent4a7258598668d2241d41423171e1ea398c3adbd4 (diff)
(Format Conversion Piecemeal): Clarify
`after-insert-file-functions' calling convention.
Diffstat (limited to 'lispref')
-rw-r--r--lispref/ChangeLog5
-rw-r--r--lispref/files.texi6
2 files changed, 9 insertions, 2 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index fac06d0f9c..1e5e94258b 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-27 Richard Stallman <[email protected]>
+
+ * files.texi (Format Conversion Piecemeal): Clarify
+ `after-insert-file-functions' calling convention.
+
2007-06-27 Michael Albinus <[email protected]>
* files.texi (Magic File Names): Remove `dired-call-process'. Add
diff --git a/lispref/files.texi b/lispref/files.texi
index 730b2b9b49..659229681b 100644
--- a/lispref/files.texi
+++ b/lispref/files.texi
@@ -3071,8 +3071,10 @@ have been dealt with by this function.
@defvar after-insert-file-functions
Each function in this list is called by @code{insert-file-contents}
-with one argument, the number of characters inserted, and should
-return the new character count, leaving point the same.
+with one argument, the number of characters inserted, and with point
+at the beginning of the inserted text. Each function should leave
+point unchanged, and return the new character count describing the
+inserted text as modified by the function.
@c ??? The docstring mentions a handler from `file-name-handler-alist'
@c "intercepting" `insert-file-contents'. Hmmm. --ttn
@end defvar