summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-08-15 17:23:14 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2015-08-15 17:24:42 -0700
commitf7ee23e587b01f179284b5554c67d579a2def676 (patch)
tree113d984d553d225f29a87e72a7d1938abfd96fff /lisp/files.el
parent59b5141dd7247260cbc383e0bc2afde139d55670 (diff)
downloademacs-f7ee23e587b01f179284b5554c67d579a2def676.tar.gz
substitute-command-keys a few more doc strings
* lisp/allout.el (outlineify-sticky): * lisp/files.el (hack-one-local-variable--obsolete): * lisp/help-fns.el (help-fns--obsolete, describe-variable): Use substitute-command-keys on some doc strings so that they don't use hard-coded key bindings or quoting styles.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index a371344d116..dd0f28681dc 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3554,7 +3554,8 @@ It is dangerous if either of these conditions are met:
(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)