From: morioka Date: Thu, 28 May 1998 12:31:12 +0000 (+0000) Subject: (string-as-unibyte): New macro. X-Git-Tag: apel-8_13~5 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=f2a42b7baf2af91d048b62d90705487d59019666;p=elisp%2Fapel.git (string-as-unibyte): New macro. --- 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.