(set-buffer-multibyte): New function.
[elisp/apel.git] / emu-nemacs.el
index 7ed79b2..76ce540 100644 (file)
@@ -322,6 +322,20 @@ find-file-hooks, etc.
     ))
 
 
+;;; @ 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 kanji-flag flag)
+  )
+
+
 ;;; @ character
 ;;;