aboutsummaryrefslogtreecommitdiffstats
path: root/man/programs.texi
diff options
context:
space:
mode:
authorKaroly Lorentey2006-07-14 05:56:32 +0000
committerKaroly Lorentey2006-07-14 05:56:32 +0000
commit99715bbc447eb633e45ffa23b87284771ce3ac74 (patch)
tree3a8a53dfe3dbdd9f8e36965e9f043eae522d3c0e /man/programs.texi
parent556b89447234f15d1784a23dadbfe429464463a8 (diff)
parent763bb2d43615bc3ae816422f965d76d5e1ae4bdd (diff)
downloademacs-99715bbc447eb633e45ffa23b87284771ce3ac74.tar.gz
emacs-99715bbc447eb633e45ffa23b87284771ce3ac74.zip
Merged from emacs@sv.gnu.org.
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-331 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-332 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-333 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-334 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-335 Add note about "link" button-class to etc/TODO * emacs@sv.gnu.org/emacs--devo--0--patch-336 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-337 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-338 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-339 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-340 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-341 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-342 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-343 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-344 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-345 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-346 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-347 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-348 Update for ERC 5.1.3. * emacs@sv.gnu.org/emacs--devo--0--patch-349 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-350 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/gnus--rel--5.10--patch-111 Update from CVS: texi/gnus.texi (Summary Buffer Lines): Fix typo. * emacs@sv.gnu.org/gnus--rel--5.10--patch-112 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-113 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-114 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-572
Diffstat (limited to 'man/programs.texi')
-rw-r--r--man/programs.texi11
1 files changed, 6 insertions, 5 deletions
diff --git a/man/programs.texi b/man/programs.texi
index f4ede8e5e2f..70198ad1e99 100644
--- a/man/programs.texi
+++ b/man/programs.texi
@@ -949,15 +949,16 @@ comment delimiters to add or how many to delete.
949comments in certain contexts. For example, in Lisp code, comments which 949comments in certain contexts. For example, in Lisp code, comments which
950start with two semicolons are indented as if they were lines of code, 950start with two semicolons are indented as if they were lines of code,
951instead of at the comment column. Comments which start with three 951instead of at the comment column. Comments which start with three
952semicolons are supposed to start at the left margin. Emacs understands 952semicolons are supposed to start at the left margin and are often used
953for sectioning purposes. Emacs understands
953these conventions by indenting a double-semicolon comment using @key{TAB}, 954these conventions by indenting a double-semicolon comment using @key{TAB},
954and by not changing the indentation of a triple-semicolon comment at all. 955and by not changing the indentation of a triple-semicolon comment at all.
955 956
956@example 957@example
957;; This function is just an example 958;; This function is just an example.
958;;; Here either two or three semicolons are appropriate. 959;;; Here either two or three semicolons are appropriate.
959(defun foo (x) 960(defun foo (x)
960;;; And now, the first part of the function: 961;;; And now, the first part of the function:
961 ;; The following line adds one. 962 ;; The following line adds one.
962 (1+ x)) ; This line adds one. 963 (1+ x)) ; This line adds one.
963@end example 964@end example
@@ -1623,11 +1624,11 @@ needs a binding to be useful. The following code will bind it to
1623@kbd{C-j}. We use @code{c-initialization-hook} here to make sure 1624@kbd{C-j}. We use @code{c-initialization-hook} here to make sure
1624the keymap is loaded before we try to change it. 1625the keymap is loaded before we try to change it.
1625 1626
1626@example 1627@smallexample
1627(defun my-bind-clb () 1628(defun my-bind-clb ()
1628 (define-key c-mode-base-map "\C-j" 'c-context-line-break)) 1629 (define-key c-mode-base-map "\C-j" 'c-context-line-break))
1629(add-hook 'c-initialization-hook 'my-bind-clb) 1630(add-hook 'c-initialization-hook 'my-bind-clb)
1630@end example 1631@end smallexample
1631 1632
1632@item C-M-h 1633@item C-M-h
1633Put mark at the end of a function definition, and put point at the 1634Put mark at the end of a function definition, and put point at the