Commit 7017d784 authored by Juri Linkov's avatar Juri Linkov
Browse files

(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.
parent 51ad13dc
...@@ -210,9 +210,7 @@ LEFT and RIGHT are the elements to compare." ...@@ -210,9 +210,7 @@ LEFT and RIGHT are the elements to compare."
(defconst tutorial--default-keys (defconst tutorial--default-keys
;; On window system, `suspend-emacs' is replaced in the default ;; On window system, `suspend-emacs' is replaced in the default
;; keymap ;; keymap
(let* ((suspend-emacs (if window-system (let* ((suspend-emacs 'suspend-frame)
'suspend-frame
'suspend-emacs))
(default-keys (default-keys
`((ESC-prefix [27]) `((ESC-prefix [27])
(Control-X-prefix [?\C-x]) (Control-X-prefix [?\C-x])
...@@ -293,7 +291,7 @@ LEFT and RIGHT are the elements to compare." ...@@ -293,7 +291,7 @@ LEFT and RIGHT are the elements to compare."
;; * MODE LINE ;; * MODE LINE
(describe-mode [?\C-h ?m]) (describe-mode [?\C-h ?m])
(set-fill-column [?\C-x ?f]) (set-fill-column [?\C-x ?f])
(fill-paragraph [?\M-q]) (fill-paragraph-or-region [?\M-q])
;; * SEARCHING ;; * SEARCHING
(isearch-forward [?\C-s]) (isearch-forward [?\C-s])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment