(mailcap-look-at-mtext): Strip quoted character.
authormorioka <morioka>
Sun, 3 May 1998 15:45:44 +0000 (15:45 +0000)
committermorioka <morioka>
Sun, 3 May 1998 15:45:44 +0000 (15:45 +0000)
mailcap.el

index 416b977..a27be3e 100644 (file)
       )))
 
 (defsubst mailcap-look-at-mtext ()
-  (let ((beg (point)))
-    (while (or (mailcap-look-at-qchar)
-              (mailcap-look-at-schar)))
-    (buffer-substring beg (point))
+  (let ((p0 (point))
+       dest)
+    (while (cond ((mailcap-look-at-qchar)
+                 (setq dest
+                       (concat dest
+                               (buffer-substring p0 (- (point) 2))
+                               (char-to-string (char-before (point)))
+                               )
+                       p0 (point))
+                 )
+                ((mailcap-look-at-schar)
+                 t)))
+    (concat dest (buffer-substring p0 (point)))
     ))