aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorMiles Bader2007-05-11 04:44:30 +0000
committerMiles Bader2007-05-11 04:44:30 +0000
commit68380acf41d91014634d625e5f529cd3f773fbd4 (patch)
tree8285c9f7ccc674484bb1d945192c5e2441ac81d6 /lispref
parente2e7506851231cb87c2e025dc8ba06ad95053de9 (diff)
parenta484846f80a3adae6f85b6fb897a6ae9887b32fb (diff)
downloademacs-68380acf41d91014634d625e5f529cd3f773fbd4.tar.gz
emacs-68380acf41d91014634d625e5f529cd3f773fbd4.zip
Merge from emacs--rel--22
Patches applied: * emacs--rel--22 (patch 13) - Update from CVS 2007-05-10 Richard M. 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 M. 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
Diffstat (limited to 'lispref')
-rw-r--r--lispref/ChangeLog11
-rw-r--r--lispref/files.texi7
-rw-r--r--lispref/help.texi4
-rw-r--r--lispref/keymaps.texi3
-rw-r--r--lispref/modes.texi5
5 files changed, 26 insertions, 4 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index 5d340be7818..cb824323286 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,14 @@
12007-05-10 Richard Stallman <rms@gnu.org>
2
3 * keymaps.texi (Scanning Keymaps): Update where-is-internal example.
4
5 * help.texi (Keys in Documentation): Add reference to
6 Documentation Tips.
7
8 * files.texi (Format Conversion): TO-FN gets three arguments.
9
10 * modes.texi (Auto Major Mode): Document file-start-mode-alist.
11
12007-05-10 Thien-Thi Nguyen <ttn@gnuvola.org> 122007-05-10 Thien-Thi Nguyen <ttn@gnuvola.org>
2 13
3 * elisp.texi (Top): Remove "Saving Properties" from detailed menu. 14 * elisp.texi (Top): Remove "Saving Properties" from detailed menu.
diff --git a/lispref/files.texi b/lispref/files.texi
index 1df6aead199..19bacb142eb 100644
--- a/lispref/files.texi
+++ b/lispref/files.texi
@@ -2903,9 +2903,10 @@ convert the usual Emacs data representation into this format.
2903If @var{to-fn} is a string, it is a shell command; Emacs runs the 2903If @var{to-fn} is a string, it is a shell command; Emacs runs the
2904command as a filter to perform the conversion. 2904command as a filter to perform the conversion.
2905 2905
2906If @var{to-fn} is a function, it is called with two arguments, @var{begin} 2906If @var{to-fn} is a function, it is called with three arguments:
2907and @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
2908There are two ways it can do the conversion: 2908should convert, and @var{buffer}, which specifies which buffer. There
2909are two ways it can do the conversion:
2909 2910
2910@itemize @bullet 2911@itemize @bullet
2911@item 2912@item
diff --git a/lispref/help.texi b/lispref/help.texi
index 70c7a48c9c4..dd56aa872b7 100644
--- a/lispref/help.texi
+++ b/lispref/help.texi
@@ -384,6 +384,10 @@ C-g abort-recursive-edit
384@end group 384@end group
385@end smallexample 385@end smallexample
386 386
387 There are other special conventions for the text in documentation
388strings---for instance, you can refer to functions, variables, and
389sections of this manual. @xref{Documentation Tips}, for details.
390
387@node Describing Characters 391@node Describing Characters
388@section Describing Characters for Help Messages 392@section Describing Characters for Help Messages
389@cindex describe characters and events 393@cindex describe characters and events
diff --git a/lispref/keymaps.texi b/lispref/keymaps.texi
index 88b312d227b..400a2c38240 100644
--- a/lispref/keymaps.texi
+++ b/lispref/keymaps.texi
@@ -1895,7 +1895,8 @@ other command. However, if @var{no-remap} is non-@code{nil}.
1895@smallexample 1895@smallexample
1896@group 1896@group
1897(where-is-internal 'describe-function) 1897(where-is-internal 'describe-function)
1898 @result{} ("\^hf" "\^hd") 1898 @result{} ([8 102] [f1 102] [help 102]
1899 [menu-bar help-menu describe describe-function])
1899@end group 1900@end group
1900@end smallexample 1901@end smallexample
1901@end defun 1902@end defun
diff --git a/lispref/modes.texi b/lispref/modes.texi
index 5d91b238fca..56fb43a0c3b 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -616,6 +616,11 @@ the text at the beginning of the buffer matches @var{regexp} and
616@code{auto-mode-alist} gets to decide the mode. 616@code{auto-mode-alist} gets to decide the mode.
617@end defvar 617@end defvar
618 618
619@defvar file-start-mode-alist
620This works like @code{magic-mode-alist}, except that it is handled
621only if @code{auto-mode-alist} does not specify a mode for this file.
622@end defvar
623
619@defvar auto-mode-alist 624@defvar auto-mode-alist
620This variable contains an association list of file name patterns 625This variable contains an association list of file name patterns
621(regular expressions) and corresponding major mode commands. Usually, 626(regular expressions) and corresponding major mode commands. Usually,