diff --git a/src/emacs/lean-info.el b/src/emacs/lean-info.el index d37cd5ae7..ded72405c 100644 --- a/src/emacs/lean-info.el +++ b/src/emacs/lean-info.el @@ -542,7 +542,7 @@ Take out \"BEGININFO\" and \"ENDINFO\" and Use \"ACK\" as a delim." (format "\n%s with %s" (propertize "overloaded" 'face 'font-lock-keyword-face) overload-str)))) - (when stale + (when (and stale str) (setq str (format "[%s] %s" (propertize "stale" 'face '(foreground-color . "red")) str)))