]> git.eshelyaron.com Git - emacs.git/commit
Guard occur against an undefined orig-line
authorRaimon Grau <raimonster@gmail.com>
Sun, 9 Dec 2018 23:42:41 +0000 (01:42 +0200)
committerJuri Linkov <juri@linkov.net>
Sun, 9 Dec 2018 23:42:41 +0000 (01:42 +0200)
commitee1ebe8246c333e9ca0e3454f357d12c713c129b
treed302cf284ef36d8564ec40b1dc7c3baa4647d1e8
parent908af9dfc46f783c89d06cb48d9499eb6a582d3e
Guard occur against an undefined orig-line

; Not to be merged to master
* lisp/replace.el (occur-engine): Avoid inserting the current line if
orig-line is nil.  This happens, for example, when reverting an occur
buffer with `list-matching-lines-jump-to-current-line' set to t.
(Bug#33476)
lisp/replace.el