diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2017-12-16 01:34:35 +0100 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2017-12-17 05:48:13 +0100 |
commit | 2e9eba2013521cb55dc4613733a65d3c6408c65f (patch) | |
tree | 8cf7927bebd31bd9b7a27429cb57e737c5084150 /lisp/format-spec.el | |
parent | 89cfdbf729bc731331358e0efc69547547aa3ca2 (diff) | |
download | emacs-2e9eba2013521cb55dc4613733a65d3c6408c65f.tar.gz emacs-2e9eba2013521cb55dc4613733a65d3c6408c65f.tar.bz2 emacs-2e9eba2013521cb55dc4613733a65d3c6408c65f.zip |
Backport: Don't compare arguments that can be nil (Bug#28039)
copy-region-as-kill can be called passing nil as `beg' and
`end'. Magit does that, which caused an error when this advice was in
effect.
* lisp/ses.el (ses--advice-copy-region-as-kill): avoid comparison
unless `beg' and `end' are non-nil.
Diffstat (limited to 'lisp/format-spec.el')
0 files changed, 0 insertions, 0 deletions