summaryrefslogtreecommitdiff
path: root/lisp/format-spec.el
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2017-12-16 01:34:35 +0100
committerOscar Fuentes <ofv@wanadoo.es>2017-12-17 05:48:13 +0100
commit2e9eba2013521cb55dc4613733a65d3c6408c65f (patch)
tree8cf7927bebd31bd9b7a27429cb57e737c5084150 /lisp/format-spec.el
parent89cfdbf729bc731331358e0efc69547547aa3ca2 (diff)
downloademacs-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