From: Jay Belanger Date: Sun, 2 Jan 2005 07:39:20 +0000 (+0000) Subject: (calc-edit-mode): Make header in italic. X-Git-Tag: ttn-vms-21-2-B4~2968 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=72e53dcd4198a717d3ae7488500396d05ccb5e69;p=emacs.git (calc-edit-mode): Make header in italic. --- 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 ()