1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
emacs/doc/lispref
Matt Armstrong c4ab173df3 File unlock errors now issue warnings (Bug#46397)
The primary idea is to allow `kill-buffer' and `kill-emacs' to
complete even if Emacs has trouble unlocking the buffer's file.

* lisp/userlock.el (userlock--handle-unlock-error): New function, call
`display-error'.
* src/filelock.c (unlock_file_body): New function, do what
'unlock_file' used to.
(unlock_file_handle_error): New function, call
`userlock--handle-unlock-error' with the captured error.
(unlock_file): Handle `file-error' conditions by calling the handler
defined above.
* test/src/filelock-tests.el (filelock-tests-kill-buffer-spoiled):
(filelock-tests-unlock-spoiled): Modify to test new behavior.
2021-03-27 12:17:31 +03:00
..
abbrevs.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
anti.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
back.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
backups.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
book-spine.texi Fix single-quoting style in PDF manuals 2015-05-01 12:06:38 -07:00
buffers.texi Remove several references to Emacs 22 and earlier 2021-03-10 05:45:47 +01:00
ChangeLog.1 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
commands.texi Add a new command for mode-specific commands 2021-02-20 15:12:45 +01:00
compile.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
control.texi * lisp/emacs-lisp/pcase.el: Bind all the vars in or patterns 2021-03-01 23:57:56 -05:00
customize.texi Decouple require-theme from load-theme 2021-03-04 15:40:35 +00:00
debugging.texi * lisp/emacs-lisp/benchmark.el (benchmark-call): New function 2021-03-17 19:04:28 -04:00
display.texi Merge from origin/emacs-27 2021-03-18 08:50:32 -07:00
doclicense.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
edebug.texi Fix two syntax errors in Specification List 2021-02-15 03:44:15 +01:00
elisp.texi Bindat: new macro-expansion based data layout language 2021-03-05 19:56:31 -05:00
errors.texi Add a new variable `inhibit-interaction' 2021-01-12 15:12:38 +01:00
eval.texi Remove several references to Emacs 22 and earlier 2021-03-10 05:45:47 +01:00
files.texi File unlock errors now issue warnings (Bug#46397) 2021-03-27 12:17:31 +03:00
frames.texi Add minibuffer input support to commands that set the frame size 2021-03-16 01:29:28 +01:00
functions.texi Improve the documentation of :extra in cl-defmethod 2021-03-05 14:27:08 +01:00
gpl.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
hash.texi Clarify that #s(hash-table ...) doesn't always create a new hash table 2021-02-07 14:47:09 +01:00
help.texi Pretty-print keys without <> around modifiers (bug#45536) 2021-01-05 11:28:58 +01:00
hooks.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
index.texi
internals.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
intro.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
keymaps.texi Remove several references to Emacs 22 and earlier 2021-03-10 05:45:47 +01:00
lay-flat.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
lists.texi Clarify that #s(hash-table ...) doesn't always create a new hash table 2021-02-07 14:47:09 +01:00
loading.texi Remove several references to Emacs 22 and earlier 2021-03-10 05:45:47 +01:00
macros.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
Makefile.in Make tags tables from Texinfo sources 2021-03-11 16:42:57 +02:00
maps.texi Remove the 'M-o' ('facemap-keymap') binding experimentally 2021-02-10 19:38:18 +01:00
markers.texi Merge from origin/emacs-27 2021-02-19 08:36:55 -08:00
minibuf.texi Remove several references to Emacs 22 and earlier 2021-03-10 05:45:47 +01:00
modes.texi Unbind M-o' and add new C-x x f' binding 2021-03-18 05:10:37 +01:00
nonascii.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
numbers.texi * src/fns.c (Frandom): Handle bignum limits 2021-03-05 12:09:50 -05:00
objects.texi Merge from origin/emacs-27 2021-03-18 08:50:32 -07:00
os.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
package.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
positions.texi Remove several references to Emacs 22 and earlier 2021-03-10 05:45:47 +01:00
processes.texi ; Fix last change. 2021-03-06 12:16:37 +02:00
README Update copyright year to 2021 2021-01-01 01:13:56 -08:00
records.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
searching.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
sequences.texi Merge from origin/emacs-27 2021-02-19 08:36:55 -08:00
spellfile Update lispref spellfile 2019-06-04 08:34:16 -07:00
streams.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
strings.texi Move string-trim functions to subr.el 2021-03-24 09:22:44 +01:00
symbols.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
syntax.texi Merge from origin/emacs-27 2021-02-06 08:10:38 -08:00
text.texi Document that `buffer-string' retains text properties 2021-03-18 05:59:12 +01:00
threads.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
tips.texi Remove mention of using defun- and defvar- as prefixes 2021-03-06 13:27:34 +01:00
two-volume-cross-refs.txt Update copyright year to 2021 2021-01-01 01:13:56 -08:00
two-volume.make Update copyright year to 2021 2021-01-01 01:13:56 -08:00
variables.texi Remove several references to Emacs 22 and earlier 2021-03-10 05:45:47 +01:00
windows.texi Fix typos 2021-02-18 16:50:55 +01:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2021 Free Software Foundation, Inc.  -*- outline -*-
See the end of the file for license conditions.


README for the Emacs Lisp Reference Manual.

* This directory contains the texinfo source files for the Emacs Lisp
Reference Manual.

* Report bugs in the Lisp Manual (or in Emacs) using M-x report-emacs-bug.
To ask questions, use the help-gnu-emacs mailing list.

* The Emacs Lisp Reference Manual is quite large.  It totals around
1100 pages in smallbook format; the info files total around 3.0 megabytes.

* You can format this manual for Info, for printing hardcopy using TeX,
or for HTML.

* You can buy nicely printed copies from the Free Software Foundation.
Buying a manual from the Free Software Foundation helps support our GNU
development work.  See <https://shop.fsf.org/>.
(At time of writing, this manual is out of print.)

* The master file for formatting this manual for Tex is called 'elisp.texi'.
It contains @include commands to include all the chapters that make up
the manual.

* This distribution contains a Makefile that you can use with GNU Make.

** To make an Info file, you need to install Texinfo, then run 'make info'.

** Use 'make elisp.pdf' or 'make elisp.html' to create PDF or HTML versions.


This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.