aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorPaul Eggert2019-09-15 22:15:04 -0700
committerPaul Eggert2019-09-15 22:15:28 -0700
commitbe828883475eddff0bb8cf6825f0d3383391c122 (patch)
treea187ddd00d189fea525498c07cf4c4e28768bb08 /lisp/progmodes/python.el
parent5711c076dc63ecc0907f2b9cfe04035e0bd6a0b4 (diff)
downloademacs-be828883475eddff0bb8cf6825f0d3383391c122.tar.gz
emacs-be828883475eddff0bb8cf6825f0d3383391c122.zip
Fix some file-name-case-insensitive glitches
* src/fileio.c (file_name_directory): New static function, broken out of Ffile_name_directory. (file_name_case_insensitive_err, Ffile_writable_p, Fdo_auto_save): Use it. (file_name_case_insensitive_err): Rename from file_name_case_insensitive_p. Accept an unencoded Lisp_Object rather than an encoded char *, so that platforms other than Cygwin and macOS need not encode the file name. Return an int -1, 0, errno rather than a bool (setting errno if false), so that the caller can distinguish an error from false. All callers changed. (Ffile_name_case_insensitive_p): Don’t issue system calls on platforms other than Cygwin and macOS. Fix bug that broke the attempt to move up the filesystem tree (it moved up only one level).
Diffstat (limited to 'lisp/progmodes/python.el')
0 files changed, 0 insertions, 0 deletions