diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-04-18 22:18:23 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-04-18 22:18:23 +0200 |
commit | 8814988d1cdfb1612919f42d6498b8aea326b220 (patch) | |
tree | 48aa1e491a9b144a6e86ecee8ec96680c2780bd9 | |
parent | 8b6a617ff53b5713f2e65bae58eb913672cac5c8 (diff) | |
download | org-mode-8814988d1cdfb1612919f42d6498b8aea326b220.tar.gz |
Fix error message
* lisp/org.el (org-kill-line): Fix error message.
-rw-r--r-- | lisp/org.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 9b24aa6..e6080e0 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -23694,7 +23694,9 @@ depending on context." org-ctrl-k-protect-subtree (or (eq org-ctrl-k-protect-subtree 'error) (not (y-or-n-p "Kill hidden subtree along with headline? ")))) - (user-error "C-k aborted as it would kill a hidden subtree")) + (user-error + (substitute-command-keys + "`\\[org-kill-line]' aborted as it would kill a hidden subtree"))) (call-interactively (if (bound-and-true-p visual-line-mode) 'kill-visual-line 'kill-line))) ((looking-at ".*?\\S-\\([ \t]+\\(:[[:alnum:]_@#%:]+:\\)\\)[ \t]*$") |