Commit 27903cdf authored by Johan Sundström's avatar Johan Sundström Committed by Per Cederqvist
Browse files

(Oops.)

parent 37deb14c
......@@ -448,7 +448,7 @@ unless we are reviewing without conversion. More precisely, the latin
useful function to put in your `kom-view-text-hook'."
(let* ((cti (lyskom-get-aux-item
(text-stat->aux-items lyskom-view-text-text-stat) 1))
(content-type (and cti (aux-item->data (car cti)))))
(content-type (if cti (aux-item->data (car cti)) "")))
(when (and (string-match "charset\\s-*=\\s-*utf-?8" content-type)
(not (lyskom-viewing-noconversion)))
(let* ((was (aref (cdr lyskom-view-text-text) 1)) ; original text version
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment