aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/tutorial.el
diff options
context:
space:
mode:
authorGlenn Morris2009-07-08 02:37:11 +0000
committerGlenn Morris2009-07-08 02:37:11 +0000
commitf35fc841ab535bf129e61d0856efe33da9289c1d (patch)
tree14522568a66580eed2b921a7445cb535f897a910 /lisp/tutorial.el
parent38d4f316da311778eb8a6b45dd146f7a5d1bc7c0 (diff)
downloademacs-f35fc841ab535bf129e61d0856efe33da9289c1d.tar.gz
emacs-f35fc841ab535bf129e61d0856efe33da9289c1d.zip
(tutorial--describe-nonstandard-key):
Adjust the message for when a key has been unbound. (help-with-tutorial): Hide the arch-tag.
Diffstat (limited to 'lisp/tutorial.el')
-rw-r--r--lisp/tutorial.el12
1 files changed, 9 insertions, 3 deletions
diff --git a/lisp/tutorial.el b/lisp/tutorial.el
index 7df71e02af8..96aec65f38b 100644
--- a/lisp/tutorial.el
+++ b/lisp/tutorial.el
@@ -138,9 +138,11 @@ options:
138 " is the command `") 138 " is the command `")
139 (insert (format "%s" db)) 139 (insert (format "%s" db))
140 (insert "'. " 140 (insert "'. "
141 "However, your customizations have rebound it to the command `") 141 "However, your customizations have "
142 (insert (format "%s" cb)) 142 (if cb
143 (insert "'.") 143 (format "rebound it to the command `%s'" cb)
144 "unbound it"))
145 (insert ".")
144 (when mapsym 146 (when mapsym
145 (insert " (For the more advanced user:" 147 (insert " (For the more advanced user:"
146 " This binding is in the keymap `" 148 " This binding is in the keymap `"
@@ -862,6 +864,10 @@ Run the Viper tutorial? "))
862 (when (< old-point 1) 864 (when (< old-point 1)
863 (setq old-point 1)) 865 (setq old-point 1))
864 (goto-char old-point)) 866 (goto-char old-point))
867 ;; Delete the arch-tag line, so as not to confuse readers.
868 (goto-char (point-max))
869 (if (search-backward ";;; arch-tag: " nil t)
870 (delete-region (point) (point-max)))
865 (goto-char (point-min)) 871 (goto-char (point-min))
866 (search-forward "\n<<") 872 (search-forward "\n<<")
867 (beginning-of-line) 873 (beginning-of-line)