Mercurial > emacs
comparison lisp/tutorial.el @ 85071:7ad3fd2afe10
(tutorial--default-keys): Replace fill-paragraph
with fill-paragraph-or-region. Suspend command is now the same
`suspend-frame' on window systems and on tty.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Sat, 06 Oct 2007 22:17:16 +0000 |
parents | 8ba01ffe2626 |
children | bb920aebb078 |
comparison
equal
deleted
inserted
replaced
85070:628c4c3a906d | 85071:7ad3fd2afe10 |
---|---|
208 (symbol-name cx))))))) | 208 (symbol-name cx))))))) |
209 | 209 |
210 (defconst tutorial--default-keys | 210 (defconst tutorial--default-keys |
211 ;; On window system, `suspend-emacs' is replaced in the default | 211 ;; On window system, `suspend-emacs' is replaced in the default |
212 ;; keymap | 212 ;; keymap |
213 (let* ((suspend-emacs (if window-system | 213 (let* ((suspend-emacs 'suspend-frame) |
214 'suspend-frame | |
215 'suspend-emacs)) | |
216 (default-keys | 214 (default-keys |
217 `((ESC-prefix [27]) | 215 `((ESC-prefix [27]) |
218 (Control-X-prefix [?\C-x]) | 216 (Control-X-prefix [?\C-x]) |
219 (mode-specific-command-prefix [?\C-c]) | 217 (mode-specific-command-prefix [?\C-c]) |
220 (save-buffers-kill-terminal [?\C-x ?\C-c]) | 218 (save-buffers-kill-terminal [?\C-x ?\C-c]) |
291 ;; C-x u Undo | 289 ;; C-x u Undo |
292 | 290 |
293 ;; * MODE LINE | 291 ;; * MODE LINE |
294 (describe-mode [?\C-h ?m]) | 292 (describe-mode [?\C-h ?m]) |
295 (set-fill-column [?\C-x ?f]) | 293 (set-fill-column [?\C-x ?f]) |
296 (fill-paragraph [?\M-q]) | 294 (fill-paragraph-or-region [?\M-q]) |
297 | 295 |
298 ;; * SEARCHING | 296 ;; * SEARCHING |
299 (isearch-forward [?\C-s]) | 297 (isearch-forward [?\C-s]) |
300 (isearch-backward [?\C-r]) | 298 (isearch-backward [?\C-r]) |
301 | 299 |