(if (allout-goto-prefix)
t
(allout-open-topic 2)
- (insert (concat "Dummy outline topic header -- see"
- "`allout-mode' docstring: `^Hm'."))
+ (insert (substitute-command-keys
+ (concat "Dummy outline topic header -- see"
+ " ‘allout-mode’ docstring: ‘\\[describe-mode]’.")))
(allout-adjust-file-variable
"allout-layout" (or allout-layout '(-1 : 0))))))
;;;_ > allout-file-vars-section-data ()
(since (nth 2 o)))
(message "%s is obsolete%s; %s"
var (if since (format " (since %s)" since))
- (if (stringp instead) instead
+ (if (stringp instead)
+ (substitute-command-keys instead)
(format "use `%s' instead" instead)))))))
(defun hack-one-local-variable (var val)
" is obsolete")
(when (nth 2 obsolete)
(insert (format " since %s" (nth 2 obsolete))))
- (insert (cond ((stringp use) (concat ";\n" use))
+ (insert (cond ((stringp use)
+ (concat ";\n" (substitute-command-keys use)))
(use (format ";\nuse ‘%s’ instead." use))
(t "."))
"\n"))))
(princ " This variable is obsolete")
(if (nth 2 obsolete)
(princ (format " since %s" (nth 2 obsolete))))
- (princ (cond ((stringp use) (concat ";\n " use))
+ (princ (cond ((stringp use)
+ (concat ";\n " (substitute-command-keys use)))
(use (format ";\n use ‘%s’ instead."
(car obsolete)))
(t ".")))