summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
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)