bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27362: Bug #27362:


From: Nathan Moreau
Subject: bug#27362: Bug #27362:
Date: Thu, 17 Aug 2017 11:36:15 +0200

Here  is a patch that fixes the reported problem.

A minimal reproduction test:

(ert-deftest totoro ()
  (set-buffer "*scratch*")
  (insert "setq")
  (setq next-error-recenter '(4))
  (occur "setq")
  (next-error))

It seems that occur-mode-goto-occurrence should be called after
restoring the original buffer.

Nathan

Attachment: 0001-Fix-current-buffer-in-the-call-of-occur-next-error.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]