]> git.eshelyaron.com Git - emacs.git/commit
Backport: Don't compare arguments that can be nil (Bug#28039)
authorOscar Fuentes <ofv@wanadoo.es>
Sat, 16 Dec 2017 00:34:35 +0000 (01:34 +0100)
committerOscar Fuentes <ofv@wanadoo.es>
Sun, 17 Dec 2017 04:48:13 +0000 (05:48 +0100)
commit2e9eba2013521cb55dc4613733a65d3c6408c65f
tree8cf7927bebd31bd9b7a27429cb57e737c5084150
parent89cfdbf729bc731331358e0efc69547547aa3ca2
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.
lisp/ses.el