emacs/doc
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
..
emacs Merge from origin/emacs-29 2024-06-08 07:34:20 -04:00
lispintro ; * doc/lispintro/emacs-lisp-intro.texi (nthcdr): Whitespace (bug#71033). 2024-05-18 14:38:29 +03:00
lispref (find-auto-coding): Provide filename to auto-coding-functions 2024-06-09 00:19:03 -04:00
man Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
misc ; Fix typos 2024-06-07 23:51:18 +02:00
translations ; Fix typos 2024-06-07 23:51:18 +02:00