projects
/
elisp
/
flim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66d96e4
)
(Q-encoded-text-length): Fixed.
author
morioka
<morioka>
Tue, 25 May 1999 10:14:46 +0000
(10:14 +0000)
committer
morioka
<morioka>
Tue, 25 May 1999 10:14:46 +0000
(10:14 +0000)
mel.el
patch
|
blob
|
history
diff --git
a/mel.el
b/mel.el
index
e70319a
..
02782cf
100644
(file)
--- a/
mel.el
+++ b/
mel.el
@@
-236,8
+236,9
@@
ENCODING must be string.")
(defun Q-encoded-text-length (string &optional mode)
(let ((l 0)(i 0)(len (length string)) chr)
(while (< i len)
- (setq chr (elt string i))
- (if (Q-encoding-printable-char-p chr mode)
+ (setq chr (aref string i))
+ (if (or (Q-encoding-printable-char-p chr mode)
+ (eq chr ? ))
(setq l (+ l 1))
(setq l (+ l 3))
)