diff options
| author | Pierre Courtieu | 2010-10-22 08:45:19 +0000 |
|---|---|---|
| committer | Pierre Courtieu | 2010-10-22 08:45:19 +0000 |
| commit | 30ada980760747e1e3fc81560061894e80fb3149 (patch) | |
| tree | 11313630e7a309435ed38fac20063bc62cb773a0 | |
| parent | c5b686a1c2d7d3539e7c67292c7f5d21b4810296 (diff) | |
Fixed a bug with utf8 error highlighting in coq 8.3 (bugs with 8.2
but nevermind).
| -rw-r--r-- | coq/coq.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1286,7 +1286,7 @@ buffer." ;; since the internal encoding happens to use utf-8 as well. ;; Actually in coq-8.3 one utf8 char = one space so we do not need ;; this at all - (let ((bytes (encode-coding-string text 'utf-8-unix))) + (let ((bytes text)) ;(encode-coding-string text 'utf-8-unix) ;; Check that pos&len make sense in `bytes', if not give up. (when (>= (length bytes) (+ pos len)) ;; We assume here that `text' is a single line and use \n as |
