From f2a42b7baf2af91d048b62d90705487d59019666 Mon Sep 17 00:00:00 2001 From: morioka Date: Thu, 28 May 1998 12:31:12 +0000 Subject: [PATCH] (string-as-unibyte): New macro. --- emu.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/emu.el b/emu.el index dfc33b1..bf1df70 100644 --- a/emu.el +++ b/emu.el @@ -277,6 +277,12 @@ Value is nil if OBJECT is not a buffer or if it has been killed. ;;; @ Emacs 20.3 emulation ;;; +(defmacro-maybe string-as-unibyte (string) + "Return a unibyte string with the same individual bytes as STRING. +If STRING is unibyte, the result is STRING itself. +\[Emacs 20.3 emulating macro]" + string) + (defmacro-maybe string-as-multibyte (string) "Return a multibyte string with the same individual bytes as STRING. If STRING is multibyte, the result is STRING itself. -- 1.7.10.4