mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
Fix ein:cell-finish-tooltip fallback
When none of pos-tip or popup-tip installed, raw ansi string was shown in the echo area. This fixes the problem.
This commit is contained in:
parent
ab68e63b94
commit
5180a3cafc
1 changed files with 2 additions and 1 deletions
|
@ -412,7 +412,8 @@ A specific node can be specified using optional ARGS."
|
||||||
(funcall 'pos-tip-show tooltip))
|
(funcall 'pos-tip-show tooltip))
|
||||||
((fboundp 'popup-tip)
|
((fboundp 'popup-tip)
|
||||||
(funcall 'popup-tip tooltip))
|
(funcall 'popup-tip tooltip))
|
||||||
(t (message "%s" defstring)))))
|
(t (when (stringp defstring)
|
||||||
|
(message (ein:trim (ansi-color-apply defstring))))))))
|
||||||
|
|
||||||
(defun ein:cell-goto (cell)
|
(defun ein:cell-goto (cell)
|
||||||
(ewoc-goto-node (oref cell :ewoc) (ein:cell-element-get cell :input))
|
(ewoc-goto-node (oref cell :ewoc) (ein:cell-element-get cell :input))
|
||||||
|
|
Loading…
Add table
Reference in a new issue