Skip to content

Commit

Permalink
[fix] telega-mnz: Do not modify message's text during fontification
Browse files Browse the repository at this point in the history
  • Loading branch information
zevlg committed Jul 6, 2023
1 parent ded6cc3 commit cf61238
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/telega-mnz.el
Expand Up @@ -204,8 +204,8 @@ Most of these languages available for language detection.")
(prog1 ret
(kill-buffer (get-buffer "*Telega Mnz Fontification*")))))

(error (format "!<<Error during code block fontification>>!\n%s\n%s"
(prin1-to-string text) text))))
(error (message "telega-mnz: Error during code block fontification")
text)))

(defun telega-mnz--language-for-mode (mode)
"Return language string for Emacs major MODE."
Expand Down

0 comments on commit cf61238

Please sign in to comment.