diff options
Diffstat (limited to 'lisp/tutorial.el')
| -rw-r--r-- | lisp/tutorial.el | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lisp/tutorial.el b/lisp/tutorial.el index be50d793f0f..18fa2f0d4cd 100644 --- a/lisp/tutorial.el +++ b/lisp/tutorial.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; tutorial.el --- tutorial for Emacs | 1 | ;;; tutorial.el --- tutorial for Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2006 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2006, 2007 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Maintainer: FSF | 5 | ;; Maintainer: FSF |
| 6 | ;; Keywords: help, internal | 6 | ;; Keywords: help, internal |
| @@ -153,7 +153,7 @@ options: | |||
| 153 | (insert "\n\nYou can use M-x " | 153 | (insert "\n\nYou can use M-x " |
| 154 | (format "%s" db) | 154 | (format "%s" db) |
| 155 | " RET instead.")) | 155 | " RET instead.")) |
| 156 | (insert "\n\nWith you current key bindings" | 156 | (insert "\n\nWith your current key bindings" |
| 157 | " you can use the key " | 157 | " you can use the key " |
| 158 | where | 158 | where |
| 159 | " to get the function `" | 159 | " to get the function `" |
| @@ -446,7 +446,8 @@ where | |||
| 446 | (cond ((eq key-fun def-fun) | 446 | (cond ((eq key-fun def-fun) |
| 447 | ;; No rebinding, return t | 447 | ;; No rebinding, return t |
| 448 | t) | 448 | t) |
| 449 | ((eq key-fun (command-remapping def-fun)) | 449 | ((and key-fun |
| 450 | (eq key-fun (command-remapping def-fun))) | ||
| 450 | ;; Just a remapping, return t | 451 | ;; Just a remapping, return t |
| 451 | t) | 452 | t) |
| 452 | ;; cua-mode specials: | 453 | ;; cua-mode specials: |
| @@ -571,6 +572,8 @@ with some explanatory links." | |||
| 571 | (where (nth 3 ck)) | 572 | (where (nth 3 ck)) |
| 572 | s1 s2 help-string) | 573 | s1 s2 help-string) |
| 573 | (unless (string= where "Same key") | 574 | (unless (string= where "Same key") |
| 575 | (when (string= where "") | ||
| 576 | (setq where (format "M-x %s" def-fun))) | ||
| 574 | (setq tutorial--point-after-chkeys (point-marker) | 577 | (setq tutorial--point-after-chkeys (point-marker) |
| 575 | s1 (get-lang-string tutorial--lang 'tut-chgdkey) | 578 | s1 (get-lang-string tutorial--lang 'tut-chgdkey) |
| 576 | s2 (get-lang-string tutorial--lang 'tut-chgdkey2) | 579 | s2 (get-lang-string tutorial--lang 'tut-chgdkey2) |