Mercurial > emacs
comparison man/programs.texi @ 71593:4d628cade603
fix overfull/underfull boxes
author | Karl Berry <karl@gnu.org> |
---|---|
date | Mon, 03 Jul 2006 18:17:21 +0000 |
parents | e41cc24662e3 |
children | 77266daa9ec9 |
comparison
equal
deleted
inserted
replaced
71592:78e1e4fcd148 | 71593:4d628cade603 |
---|---|
1621 @code{c-context-line-break} isn't bound to a key by default, but it | 1621 @code{c-context-line-break} isn't bound to a key by default, but it |
1622 needs a binding to be useful. The following code will bind it to | 1622 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 | 1623 @kbd{C-j}. We use @code{c-initialization-hook} here to make sure |
1624 the keymap is loaded before we try to change it. | 1624 the keymap is loaded before we try to change it. |
1625 | 1625 |
1626 @example | 1626 @smallexample |
1627 (defun my-bind-clb () | 1627 (defun my-bind-clb () |
1628 (define-key c-mode-base-map "\C-j" 'c-context-line-break)) | 1628 (define-key c-mode-base-map "\C-j" 'c-context-line-break)) |
1629 (add-hook 'c-initialization-hook 'my-bind-clb) | 1629 (add-hook 'c-initialization-hook 'my-bind-clb) |
1630 @end example | 1630 @end smallexample |
1631 | 1631 |
1632 @item C-M-h | 1632 @item C-M-h |
1633 Put mark at the end of a function definition, and put point at the | 1633 Put mark at the end of a function definition, and put point at the |
1634 beginning (@code{c-mark-function}). | 1634 beginning (@code{c-mark-function}). |
1635 | 1635 |