X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=poem.el;fp=poem.el;h=9653c824b3dfa8965f85ba36c550a186a50115f0;hb=22a21ecb4214afaa0b88273fe154b956d94ccada;hp=fabbaaea38ca83aad3b5ce42e048ff7f43dcc094;hpb=dcb892d7501ce52721aec9dbbcd165febe9b60ca;p=elisp%2Fapel.git diff --git a/poem.el b/poem.el index fabbaae..9653c82 100644 --- a/poem.el +++ b/poem.el @@ -66,6 +66,13 @@ If STRING is multibyte, the result is STRING itself. \[Emacs 20.3 emulating macro]" string) +(defun-maybe charset-after (&optional pos) + "Return charset of a character in current buffer at position POS. +If POS is nil, it defauls to the current point. +If POS is out of range, the value is nil. +\[Emacs 20.3 emulating function]" + (char-charset (char-after pos)) + ) ;;; @ XEmacs-mule emulation ;;;