From 88b41c40d0ee681af66d11793bb6dd20e3c7826f Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sat, 22 Dec 2018 13:57:54 +0100 Subject: Use "file name handler" consequently * doc/lispref/files.texi: * doc/lispref/processes.texi: * doc/misc/ediff.texi: * lisp/simple.el: * lisp/vc/ediff-ptch.el: * src/buffer.c: * src/dired.c: * src/fileio.c: * src/image.c: * src/insdel.c: * src/w32fns.c: Use "file name handler" consequently. --- src/w32fns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/w32fns.c') diff --git a/src/w32fns.c b/src/w32fns.c index 9a9789d8af3..484e18fd76b 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -8219,7 +8219,7 @@ a ShowWindow flag: URL, for example. So we make it absolute only if it is an existing file; if it is a file that does not exist, tough. */ absdoc = Fexpand_file_name (document, Qnil); - /* Don't call file handlers for file-exists-p, since they might + /* Don't call file name handlers for file-exists-p, since they might attempt to access the file, which could fail or produce undesired consequences, see bug#16558 for an example. */ handler = Ffind_file_name_handler (absdoc, Qfile_exists_p); @@ -9097,7 +9097,7 @@ DEFUN ("file-system-info", Ffile_system_info, Sfile_system_info, 1, 1, 0, encoded = ENCODE_FILE (filename); /* If the file name has special constructs in it, - call the corresponding file handler. */ + call the corresponding file name handler. */ Lisp_Object handler = Ffind_file_name_handler (encoded, Qfile_system_info); if (!NILP (handler)) { -- cgit v1.2.3