]> git.eshelyaron.com Git - emacs.git/commitdiff
(calc-edit-mode): Make header in italic.
authorJay Belanger <jay.p.belanger@gmail.com>
Sun, 2 Jan 2005 07:39:20 +0000 (07:39 +0000)
committerJay Belanger <jay.p.belanger@gmail.com>
Sun, 2 Jan 2005 07:39:20 +0000 (07:39 +0000)
lisp/calc/calc-yank.el

index ccb9a19ae512faadb5167275c7ba01b693e2f537..6f75613b0147a09d45db0a99ab347638ff21bf43 100644 (file)
@@ -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 ()