Mercurial > emacs
changeset 59305:f8fd85fc066a
(calc-edit-mode): Make header in italic.
author | Jay Belanger <jay.p.belanger@gmail.com> |
---|---|
date | Sun, 02 Jan 2005 07:39:20 +0000 |
parents | 8852efff403c |
children | c80fa806ab33 |
files | lisp/calc/calc-yank.el |
diffstat | 1 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/calc/calc-yank.el Sun Jan 02 07:34:14 2005 +0000 +++ b/lisp/calc/calc-yank.el Sun Jan 02 07:39:20 2005 +0000 @@ -464,10 +464,13 @@ (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 ()