aboutsummaryrefslogtreecommitdiffstats
path: root/man/programs.texi
diff options
context:
space:
mode:
Diffstat (limited to 'man/programs.texi')
-rw-r--r--man/programs.texi19
1 files changed, 3 insertions, 16 deletions
diff --git a/man/programs.texi b/man/programs.texi
index 6404e3466bc..643e6445fb0 100644
--- a/man/programs.texi
+++ b/man/programs.texi
@@ -132,19 +132,6 @@ place to set up customizations for that major mode. @xref{Hooks}.
132something like a function, is called a @dfn{defun}. The name comes 132something like a function, is called a @dfn{defun}. The name comes
133from Lisp, but in Emacs we use it for all languages. 133from Lisp, but in Emacs we use it for all languages.
134 134
135 In many programming language modes, Emacs assumes that a defun is
136any pair of parentheses (or braces, if the language uses braces this
137way) that starts at the left margin. For example, in C, the body of a
138function definition is a defun, usually recognized as an open-brace
139that begins at the left margin@footnote{Alternatively, you can set up
140C Mode to recognize a defun at an opening brace at the outermost
141level. @xref{Movement Commands,,, ccmode, the CC Mode Manual}.}. A
142variable's initializer can also count as a defun, if the open-brace
143that begins the initializer is at the left margin.
144
145 However, some language modes provide their own code for recognizing
146defuns in a way that suits the language syntax and conventions better.
147
148@menu 135@menu
149* Left Margin Paren:: An open-paren or similar opening delimiter 136* Left Margin Paren:: An open-paren or similar opening delimiter
150 starts a defun if it is at the left margin. 137 starts a defun if it is at the left margin.
@@ -1573,9 +1560,9 @@ following point.
1573 1560
1574 As an alternative to the above commands, you can enable @dfn{hungry 1561 As an alternative to the above commands, you can enable @dfn{hungry
1575delete mode}. When this feature is enabled (indicated by @samp{/h} in 1562delete mode}. When this feature is enabled (indicated by @samp{/h} in
1576the mode line after the mode name), a single @key{DEL} command deletes 1563the mode line after the mode name), a single @key{DEL} deletes all
1577all preceding whitespace, not just one space, and a single @kbd{C-c 1564preceding whitespace, not just one space, and a single @kbd{C-c C-d}
1578C-d} (but @emph{not} @key{DELETE}) deletes all following whitespace. 1565(but @emph{not} plain @key{DELETE}) deletes all following whitespace.
1579 1566
1580@table @kbd 1567@table @kbd
1581@item M-x c-toggle-hungry-state 1568@item M-x c-toggle-hungry-state