]> git.eshelyaron.com Git - emacs.git/commit
Fix handling of non-integer START param to write-region
authorNoam Postavsky <npostavs@gmail.com>
Fri, 7 Apr 2017 22:24:35 +0000 (18:24 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Fri, 7 Apr 2017 22:24:35 +0000 (18:24 -0400)
commit9e27e0d1a6c90d0d29e41884155245b6c3378b0a
tree38b31624dfa3f11a7f01ca0fa5dbf02644fb195d
parent88532ae818f3e0211c14826a618bd0a80e30e993
Fix handling of non-integer START param to write-region

The previous patch for Bug#354 incorrectly assumed that START would
always be an integer.

* lisp/epa-file.el (epa-file-write-region):
* lisp/jka-compr.el (jka-compr-write-region):
* lisp/net/ange-ftp.el (ange-ftp-write-region):
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
* lisp/net/tramp-sh.el (tramp-sh-handle-write-region):
* src/fileio.c (write_region): Handle nil and string values of START.
lisp/epa-file.el
lisp/jka-compr.el
lisp/net/ange-ftp.el
lisp/net/tramp-gvfs.el
lisp/net/tramp-sh.el
src/fileio.c