From: morioka Date: Fri, 5 Jun 1998 11:55:35 +0000 (+0000) Subject: (set-buffer-multibyte): New function (moved from emu.el again). X-Git-Tag: apel-8_14~20 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=dccd727c2c1f594222f175f3bbb64054726ca6b3;p=elisp%2Fapel.git (set-buffer-multibyte): New function (moved from emu.el again). --- diff --git a/emu-e20_2.el b/emu-e20_2.el index 36ca148..023b2f4 100644 --- a/emu-e20_2.el +++ b/emu-e20_2.el @@ -28,6 +28,20 @@ ;;; Code: +;;; @ buffer representation +;;; + +(defsubst-maybe set-buffer-multibyte (flag) + "Set the multibyte flag of the current buffer to FLAG. +If FLAG is t, this makes the buffer a multibyte buffer. +If FLAG is nil, this makes the buffer a single-byte buffer. +The buffer contents remain unchanged as a sequence of bytes +but the contents viewed as characters do change. +\[Emacs 20.3 emulating function]" + (setq enable-multibyte-characters flag) + ) + + ;;; @ character ;;;