summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-symbol-value.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2023-08-08 13:37:00 +0800
committerPo Lu <luangruo@yahoo.com>2023-08-08 13:37:00 +0800
commit3fb2c174d3a73ee5a2670b438538a5c32ad9d7ac (patch)
tree182d8dd2eeeec7711200805aee95b189906b699e /test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-symbol-value.el
parent594e03526bdc7144216e2f98831e6a7973be393a (diff)
downloademacs-3fb2c174d3a73ee5a2670b438538a5c32ad9d7ac.tar.gz
emacs-3fb2c174d3a73ee5a2670b438538a5c32ad9d7ac.tar.bz2
emacs-3fb2c174d3a73ee5a2670b438538a5c32ad9d7ac.zip
Enable visiting FIFOs as files
* doc/lispref/files.texi (Reading from Files): Document new `if-regular' value of REPLACE. * etc/NEWS: Announce the new value. * lisp/files.el (basic-save-buffer-2): Demote errors saving backup files, since FIFOs cannot be copied. (revert-buffer-insert-file-contents--default-function): Supply `if-regular' instead of t as REPLACE. * src/fileio.c (selinux_enabled_p): New function. (Fcopy_file, Ffile_selinux_context, Fset_file_selinux_context): Call that function to ascertain if SELinux applies to a file. (read_non_regular): Don't assume `emacs_fd_read' always returns int. (Finsert_file_contents): If REPLACE is if-regular and FILENAME is a special non-seekable file, fall back to erasing the buffer before inserting the contents of that file. (syms_of_fileio) <Qif_regular>: New symbol.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-symbol-value.el')
0 files changed, 0 insertions, 0 deletions