summaryrefslogtreecommitdiff
path: root/lisp/calc/calc-yank.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/calc/calc-yank.el')
-rw-r--r--lisp/calc/calc-yank.el11
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/calc/calc-yank.el b/lisp/calc/calc-yank.el
index ccb9a19ae51..6f75613b014 100644
--- a/lisp/calc/calc-yank.el
+++ b/lisp/calc/calc-yank.el
@@ -464,10 +464,13 @@ To cancel the edit, simply kill the *Calc Edit* buffer."
(let ((calc-edit-handler nil))
(calc-edit-finish t))
(message "(Cancelled)")) t t)
- (insert (or title title "Calc Edit Mode. ")
- "Press `C-c C-c'"
- (if allow-ret "" " or RET")
- " to finish, `C-x k RET' to cancel.\n\n")))
+ (insert (propertize
+ (concat
+ (or title title "Calc Edit Mode. ")
+ "Press `C-c C-c'"
+ (if allow-ret "" " or RET")
+ " to finish, `C-x k RET' to cancel.\n\n")
+ 'font-lock-face 'italic))))
(put 'calc-edit-mode 'mode-class 'special)
(defun calc-show-edit-buffer ()