diff options
author | Eli Zaretskii <eliz@gnu.org> | 2016-09-07 19:21:08 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2016-09-07 19:21:08 +0300 |
commit | ec12c6705f91106c4f4c53e76447dafa21e12f9f (patch) | |
tree | 7cb9bc547541efe0c8ccafa9aa7a6f600f8194c8 /etc | |
parent | 5d2ac7435de679559aae0ede1d8b6f1750c09e68 (diff) |
Fix documentation of convert-standard-filename on MS-Windows
* lisp/files.el (convert-standard-filename): Doc fix. (Bug#24387)
* etc/NEWS: Suggest a way for mirroring slashes where previously
'convert-standard-filename' was used.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -605,7 +605,16 @@ still apply.) ** 'convert-standard-filename' no longer mirrors slashes on MS-Windows. Previously, on MS-Windows this function converted slash characters in -file names into backslashes. It no longer does that. +file names into backslashes. It no longer does that. If your Lisp +program used 'convert-standard-filename' to prepare file names to be +passed to subprocesses (which is not the recommended usage of that +function), you will now have to mirror slashes in your application +code. One possible way is this: + + (let ((start 0)) + (while (string-match "/" file-name start) + (aset file-name (match-beginning 0) ?\\) + (setq start (match-end 0)))) ** GUI sessions now treat SIGINT like Posix platforms do. The effect of delivering a Ctrl-C (SIGINT) signal to a GUI Emacs on |