(looking-at-as-unibyte): New function.
authormorioka <morioka>
Fri, 15 May 1998 10:22:32 +0000 (10:22 +0000)
committermorioka <morioka>
Fri, 15 May 1998 10:22:32 +0000 (10:22 +0000)
emu-e20_2.el

index ca33328..3a64188 100644 (file)
@@ -68,6 +68,12 @@ but the contents viewed as characters do change."
 
 (defalias 'string-to-int-list 'string-to-char-list)
 
+(defun looking-at-as-unibyte (regexp)
+  "Like `looking-at', but string is regarded as unibyte sequence."
+  (let (enable-multibyte-characters)
+    (looking-at regexp)
+    ))
+
 ;;; @@ obsoleted aliases
 ;;;
 ;;; You should not use them.