summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/eieio.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-05-11 14:55:29 +0300
committerEli Zaretskii <eliz@gnu.org>2021-05-11 14:55:29 +0300
commitf3f1947e5b5beeef9c004cfa2bf591dc0c0331b8 (patch)
treefdf6f32813a364554bdd8b824403bf5af4b8b9f0 /lisp/emacs-lisp/eieio.el
parent6d24a8e626f1c7553c90b579c399aeae8c82dd8c (diff)
downloademacs-f3f1947e5b5beeef9c004cfa2bf591dc0c0331b8.tar.gz
emacs-f3f1947e5b5beeef9c004cfa2bf591dc0c0331b8.tar.bz2
emacs-f3f1947e5b5beeef9c004cfa2bf591dc0c0331b8.zip
Fix Hexl handling of coding-systems with BOM
* lisp/international/mule-cmds.el (encode-coding-char): If CODING-SYSTEM produces BOM, remove the BOM bytes from the produced byte sequence. (Bug#48324) * lisp/hexl.el (hexl-mode): Use bufferpos-to-filepos to convert point to offset into the original file. (hexl-mode-exit, hexl-maybe-dehexlify-buffer): Use filepos-to-bufferpos to restore point in the original buffer. (hexl-mode, hexl-insert-multibyte-char) (hexl-self-insert-command, hexl-insert-hex-char) (hexl-insert-decimal-char, hexl-insert-octal-char) (hexl-find-file): Enhance the doc strings, mainly explaining the complications of inserting multibyte characters. (hexl-insert-multibyte-char): Don't treat CH as unibyte if the coding-system isn't ASCII-compatible. Don't treat null bytes as multibyte.
Diffstat (limited to 'lisp/emacs-lisp/eieio.el')
0 files changed, 0 insertions, 0 deletions