aboutsummaryrefslogtreecommitdiffstats
path: root/lispref
diff options
context:
space:
mode:
authorMiles Bader2007-05-13 01:31:05 +0000
committerMiles Bader2007-05-13 01:31:05 +0000
commitbaa157cd2301a9ee934f79a31ba04f5352e82254 (patch)
treeab1bf53a392cb83eda21b6e64f60d3991f3e130d /lispref
parentfb0b0862c648515df5c81ea973cb8a118f85e6ed (diff)
parent85ffff84ec1cb5d1a202136d3275bcf031ce6e73 (diff)
downloademacs-baa157cd2301a9ee934f79a31ba04f5352e82254.tar.gz
emacs-baa157cd2301a9ee934f79a31ba04f5352e82254.zip
Merge from emacs--rel--22
Patches applied: * emacs--rel--22 (patch 14-15) - Update from CVS 2007-05-12 Richard M. Stallman <rms@gnu.org> * etc/refcard.tex (section{Incremental Search}): Minor corrections. 2007-05-12 Richard M. Stallman <rms@gnu.org> * lispref/text.texi (Margins): indent-to-left-margin is not the default. (Mode-Specific Indent): For indent-line-function, the default is indent-relative. * lispref/modes.texi (Example Major Modes): Explain last line of text-mode is redundant. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-746
Diffstat (limited to 'lispref')
-rw-r--r--lispref/ChangeLog9
-rw-r--r--lispref/modes.texi6
-rw-r--r--lispref/text.texi13
3 files changed, 19 insertions, 9 deletions
diff --git a/lispref/ChangeLog b/lispref/ChangeLog
index cb824323286..1092346448e 100644
--- a/lispref/ChangeLog
+++ b/lispref/ChangeLog
@@ -1,3 +1,12 @@
12007-05-12 Richard Stallman <rms@gnu.org>
2
3 * text.texi (Margins): indent-to-left-margin is not the default.
4 (Mode-Specific Indent): For indent-line-function, the default
5 is indent-relative.
6
7 * modes.texi (Example Major Modes): Explain last line of text-mode
8 is redundant.
9
12007-05-10 Richard Stallman <rms@gnu.org> 102007-05-10 Richard Stallman <rms@gnu.org>
2 11
3 * keymaps.texi (Scanning Keymaps): Update where-is-internal example. 12 * keymaps.texi (Scanning Keymaps): Update where-is-internal example.
diff --git a/lispref/modes.texi b/lispref/modes.texi
index 56fb43a0c3b..6d9aabefbe8 100644
--- a/lispref/modes.texi
+++ b/lispref/modes.texi
@@ -956,7 +956,11 @@ Turning on Text mode runs the normal hook `text-mode-hook'."
956@end group 956@end group
957@end smallexample 957@end smallexample
958 958
959 But here is how it was defined formerly, before 959@noindent
960(The last line is redundant nowadays, since @code{indent-relative} is
961the default value, and we'll delete it in a future version.)
962
963 Here is how it was defined formerly, before
960@code{define-derived-mode} existed: 964@code{define-derived-mode} existed:
961 965
962@smallexample 966@smallexample
diff --git a/lispref/text.texi b/lispref/text.texi
index e5a7e73a528..8fb155d2109 100644
--- a/lispref/text.texi
+++ b/lispref/text.texi
@@ -1655,11 +1655,10 @@ they default to the whole buffer.
1655@end defun 1655@end defun
1656 1656
1657@defun indent-to-left-margin 1657@defun indent-to-left-margin
1658This is the default @code{indent-line-function}, used in Fundamental 1658This function adjusts the indentation at the beginning of the current
1659mode, Text mode, etc. Its effect is to adjust the indentation at the 1659line to the value specified by the variable @code{left-margin}. (That
1660beginning of the current line to the value specified by the variable 1660may involve either inserting or deleting whitespace.) This function
1661@code{left-margin}. This may involve either inserting or deleting 1661is value of @code{indent-line-function} in Paragraph-Indent Text mode.
1662whitespace.
1663@end defun 1662@end defun
1664 1663
1665@defvar left-margin 1664@defvar left-margin
@@ -2199,9 +2198,7 @@ various commands) to indent the current line. The command
2199 2198
2200In Lisp mode, the value is the symbol @code{lisp-indent-line}; in C 2199In Lisp mode, the value is the symbol @code{lisp-indent-line}; in C
2201mode, @code{c-indent-line}; in Fortran mode, @code{fortran-indent-line}. 2200mode, @code{c-indent-line}; in Fortran mode, @code{fortran-indent-line}.
2202In Fundamental mode, Text mode, and many other modes with no standard 2201The default value is @code{indent-relative}.
2203for indentation, the value is @code{indent-to-left-margin} (which is the
2204default value).
2205@end defvar 2202@end defvar
2206 2203
2207@deffn Command indent-according-to-mode 2204@deffn Command indent-according-to-mode