mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
Change prompt for text cells
This commit is contained in:
parent
a96caa5692
commit
695ee1a433
1 changed files with 2 additions and 2 deletions
|
@ -347,12 +347,12 @@ Called from ewoc pretty printer via `ein:cell-pp'."
|
|||
|
||||
(defmethod ein:cell-insert-prompt ((cell ein:textcell))
|
||||
(ein:insert-read-only
|
||||
(format "In [%s]:" (oref cell :cell-type))
|
||||
(format "%s:" (oref cell :cell-type))
|
||||
'font-lock-face 'ein:cell-input-prompt))
|
||||
|
||||
(defmethod ein:cell-insert-prompt ((cell ein:headingcell))
|
||||
(ein:insert-read-only
|
||||
(format "In [%s %s]:" (oref cell :cell-type) (oref cell :level))
|
||||
(format "h%s:" (oref cell :level))
|
||||
'font-lock-face 'ein:cell-input-prompt))
|
||||
|
||||
(defmethod ein:cell-insert-input ((cell ein:basecell))
|
||||
|
|
Loading…
Add table
Reference in a new issue