comparison lispref/files.texi @ 80895:776cb0a1bb24

Merge from emacs--rel--22 Patches applied: * emacs--rel--22 (patch 13) - Update from CVS 2007-05-10 Richard Stallman <rms@gnu.org> * lisp/international/iso-cvt.el (iso-cvt-read-only): Ignore arguments. (iso-cvt-write-only): Likewise. * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix generated doc string. * lisp/startup.el (fancy-splash-text): Add URL of guided tour. Adjust horizontal and vertical whitespace. * lisp/progmodes/compile.el (compilation-handle-exit): Use run-hook-with-args to run compilation-finish-functions. * lisp/files.el (file-start-mode-alist): New variable. (magic-mode-regexp-match-limit): Doc fix. (set-auto-mode): Handle file-start-mode-alist. A little cleanup of structure. 2007-05-10 Richard Stallman <rms@gnu.org> * lispref/keymaps.texi (Scanning Keymaps): Update where-is-internal example. * lispref/help.texi (Keys in Documentation): Add reference to Documentation Tips. * lispref/files.texi (Format Conversion): TO-FN gets three arguments. * lispref/modes.texi (Auto Major Mode): Document file-start-mode-alist. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-743
author Miles Bader <miles@gnu.org>
date Fri, 11 May 2007 04:44:30 +0000
parents 6b44d05a5f0b cf24d1dc433c
children d8b5a5f25e21 d7172f202ab8
comparison
equal deleted inserted replaced
80894:47f2f1844e89 80895:776cb0a1bb24
2901 convert the usual Emacs data representation into this format. 2901 convert the usual Emacs data representation into this format.
2902 2902
2903 If @var{to-fn} is a string, it is a shell command; Emacs runs the 2903 If @var{to-fn} is a string, it is a shell command; Emacs runs the
2904 command as a filter to perform the conversion. 2904 command as a filter to perform the conversion.
2905 2905
2906 If @var{to-fn} is a function, it is called with two arguments, @var{begin} 2906 If @var{to-fn} is a function, it is called with three arguments:
2907 and @var{end}, which specify the part of the buffer it should convert. 2907 @var{begin} and @var{end}, which specify the part of the buffer it
2908 There are two ways it can do the conversion: 2908 should convert, and @var{buffer}, which specifies which buffer. There
2909 are two ways it can do the conversion:
2909 2910
2910 @itemize @bullet 2911 @itemize @bullet
2911 @item 2912 @item
2912 By editing the buffer in place. In this case, @var{to-fn} should 2913 By editing the buffer in place. In this case, @var{to-fn} should
2913 return the end-position of the range of text, as modified. 2914 return the end-position of the range of text, as modified.