1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 06:20:43 -08:00
emacs/lisp/international
Stefan Monnier 3ecc6b4f3c (find-auto-coding): Provide filename to auto-coding-functions
Allow `auto-coding-functions` to know the file name.
Motivated by the needs of Editorconfig support.

* lisp/international/mule.el (auto-coding-file-name): New var.
(find-auto-coding): Let-bind it for `auto-coding-functions`.
Document the expectation that the arg be an absolute file name.

* doc/lispref/nonascii.texi (Default Coding Systems):
Mention `auto-coding-file-name`.

* test/lisp/international/mule-util-resources/test.utf-16le: New file.
* test/lisp/international/mule-tests.el (mule-tests--dir): New var.
(mule-tests--auto-coding): New fun.
(mule-tests--auto-coding-functions): New test.
2024-06-09 00:19:03 -04:00
..
ccl.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
characters.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
emoji.el Avoid signaling errors in emoji.el 2024-01-27 15:51:39 +02:00
fontset.el Enable the system's Arabic and Khmer fonts under Android 2024-01-16 11:08:37 +08:00
isearch-x.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
iso-ascii.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
iso-cvt.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
iso-transl.el Add another iso-transl entry for Euro character 2024-06-03 13:29:54 +02:00
ja-dic-cnv.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
ja-dic-utl.el
kinsoku.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
kkc.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
latexenc.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
latin1-disp.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
mule-cmds.el Respect display names of Android content URIs 2024-03-19 12:08:17 +08:00
mule-conf.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
mule-diag.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
mule-util.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
mule.el (find-auto-coding): Provide filename to auto-coding-functions 2024-06-09 00:19:03 -04:00
ogonek.el doc: Delete extraneous quotes around keys 2024-01-21 14:09:34 +01:00
quail.el * lisp/international/quail.el (quail-input-method): Fix bug#68338 2024-01-18 18:28:54 -05:00
rfc1843.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
robin.el
textsec-check.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
textsec.el ; Improve doc strings in textsec.el 2024-05-25 11:59:21 +03:00
titdic-cnv.el titdic-cnv.el: Bring all definitions under the tit- namespace 2024-02-14 17:18:50 -05:00
ucs-normalize.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
utf-7.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
utf7.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00