1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 06:21:02 -08:00
emacs/doc/misc
Lars Ingebrigtsen 2ad34bcea4 Add new user option lock-file-name-transforms
* doc/emacs/files.texi (Interlocking): Mention
lock-file-name-transforms.

* doc/lispref/files.texi (File Locks): Document
lock-file-name-transforms.

* doc/misc/efaq.texi (Not writing files to the current directory):
Mention all the three variables needed to not having Emacs writing
files to the current directory in one place.

* lisp/files.el (lock-file-name-transforms): New user option (bug#49261).
(make-auto-save-file-name): Factor out the main logic...
(auto-save--transform-file-name): ... to this new function.
(make-lock-file-name): New function that also calls the
factored-out function.

* src/filelock.c: Remove MAKE_LOCK_NAME and fill_in_lock_file_name.
(make_lock_file_name): New utility function that calls out to Lisp
to heed `lock-file-name-transforms'.
(lock_file): Use it.  Also remove likely buggy call to
dostounix_filename.
(unlock_file_body, Ffile_locked_p): Also use make_lock_file_name.
2021-07-07 21:39:20 +02:00
..
auth.texi Specify precedence in .authinfo files 2021-01-10 15:32:57 +01:00
autotype.texi Fix code for newline-and-indent in skeleton language. 2021-05-02 20:57:38 +02:00
bovine.texi Avoid deprecation warnings with Texinfo 6.8 2021-07-04 14:55:42 +03:00
calc.texi ; * doc/misc/calc.texi (Date Arithmetic): Fix order in @menu. 2021-05-13 19:58:30 +03:00
cc-mode.texi * doc/misc/cc-mode.texi: Remove hand-written node pointers (bug#48402). 2021-05-25 11:06:07 -07:00
ChangeLog.1 Update copyright year to 2021 2021-01-01 01:13:56 -08:00
cl.texi Merge from origin/emacs-27 2021-04-25 09:16:09 -07:00
dbus.texi Add command 'dbus-monitor' 2021-02-05 14:32:41 +01:00
dired-x.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
doclicense.texi
ebrowse.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ede.texi Remove more hand-written node pointers in doc/misc 2021-05-13 09:08:40 -07:00
ediff.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
edt.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
efaq-w32.texi Remove several references to Emacs 22 and earlier 2021-03-10 05:45:47 +01:00
efaq.texi Add new user option lock-file-name-transforms 2021-07-07 21:39:20 +02:00
eieio.texi EIEIO: Promote the CLOS behavior over the EIEIO-specific behavior 2021-06-12 16:22:03 -04:00
emacs-gnutls.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
emacs-mime.texi Add a new command `mailcap-view-file' 2021-06-01 08:55:06 +02:00
epa.texi * doc/misc/epa.texi: Remove hand-written node pointers. 2021-05-13 08:21:10 -07:00
erc.texi Update a few more IRC-related references to point to Libera.Chat 2021-07-04 01:18:19 -04:00
ert.texi Allow ERT tests to output the failure reasons, too 2021-06-15 17:01:57 +02:00
eshell.texi Merge from origin/emacs-27 2021-04-16 07:50:20 -07:00
eudc.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
eww.texi Add command in eww to toggle images 2021-04-12 10:31:46 +02:00
flymake.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
forms.texi Fix two Emacs version references in misc manuals 2021-02-11 19:21:48 +01:00
gnus-coding.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
gnus-faq.texi Merge from origin/emacs-27 2021-07-04 00:14:47 -04:00
gnus.texi New Gnus Summary buffer sort options for extra headers 2021-06-19 15:13:12 +02:00
gpl.texi
htmlfontify.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
idlwave.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ido.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
info.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
mairix-el.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
Makefile.in * doc/misc/Makefile.in (echo-sources): Make it not the first target. 2021-04-04 17:24:27 -07:00
message.texi Improvements to message-syntax-checks docs and options 2021-04-13 08:45:07 -07:00
mh-e.texi Remove more hand-written node pointers in doc/misc 2021-05-13 09:08:40 -07:00
modus-themes.org Remove modus-themes.org build date (bug#48661) 2021-05-26 12:08:01 +03:00
newsticker.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
nxml-mode.texi Convert many more links to use HTTPS 2021-03-24 10:20:18 +01:00
octave-mode.texi Fix Octave double-quoted string line continuations 2021-02-11 14:35:47 +00:00
org-setup.org Fixes for doc/misc org source files 2021-02-26 19:48:34 -08:00
org.org Fixes for doc/misc org source files 2021-02-26 19:48:34 -08:00
pcl-cvs.texi Avoid deprecation warnings with Texinfo 6.8 2021-07-04 14:55:42 +03:00
pgg.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
rcirc.texi Merge from origin/emacs-27 2021-07-04 00:14:47 -04:00
reftex.texi Remove more hand-written node pointers in doc/misc 2021-05-13 09:08:40 -07:00
remember.texi Fix two Emacs version references in misc manuals 2021-02-11 19:21:48 +01:00
sasl.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
sc.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
sem-user.texi ; Fix some typos in doc strings and manuals 2021-04-24 18:26:07 +02:00
semantic.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
ses.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
sieve.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
smtpmail.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
speedbar.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
srecode.texi Avoid deprecation warnings with Texinfo 6.8 2021-07-04 14:55:42 +03:00
texinfo.tex Convert many more links to use HTTPS 2021-03-24 10:20:18 +01:00
todo-mode.texi Remove more hand-written node pointers in doc/misc 2021-05-13 09:08:40 -07:00
tramp.texi Handle sensitive auto-save or backup remote files (Bug#45245) 2021-06-14 11:25:13 +02:00
trampver.texi Sync with Tramp 2.5.1 2021-06-29 17:15:55 +02:00
url.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
vhdl-mode.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
vip.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
viper.texi Update copyright year to 2021 2021-01-01 01:13:56 -08:00
widget.texi Merge from origin/emacs-27 2021-01-04 07:50:26 -08:00
wisent.texi Avoid deprecation warnings with Texinfo 6.8 2021-07-04 14:55:42 +03:00
woman.texi * doc/misc/woman.texi (Introduction): Remove reference to old Emacs. 2021-04-02 16:33:15 +02:00