help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding colour when font-lock in disabled


From: Emanuel Berg
Subject: Re: Adding colour when font-lock in disabled
Date: Sat, 10 Dec 2022 02:59:45 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Heime wrote:

> If I want to use and enforce color property

I just added it and it seems to work!

(defun gnus-article-wash-more ()
  (article-translate-strings
   '(("colour" "color")
     ("#+begin_quote\n"          "")
     ("#+end_quote\n"            "")
     ("#+begin_src emacs-lisp\n" "")
     ("#+begin_src r\n"          "")
     ("#+end_src\n"              "")
     ("--8<---------------cut"                     "")
     ("here---------------end--------------->8---" "")
     ("here---------------start------------->8---" "")
     ("Sendt fra min iPad"                         "")
     ("Skickades från E-post för Windows 10"       "")
     ("Skickat från Yahoo Mail för iPhone"         "")
     ("naïve" "naive")
     ("ʼ" "'")
     ("⇒" "→")
     ("➜" "→")
     ("⟦" "[")
     ("⟧" "]")
     ("> > > >" ">>>>")
     ("> > >"   ">>>")
     ("> >"     ">>") ))
  (gnus-article-strip-multiple-blank-lines) )

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]