Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gilbertw1/better-jumper into master
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbertw1 committed Oct 8, 2020
2 parents 7ae4011 + 6d24003 commit fe548d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions better-jumper.el
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ Cleans up deleted windows and copies history to newly created windows."
(when found-buffer
(better-jumper-set-jumps found-buffer struct)))))
(add-hook 'savehist-save-hook #'better-jumper--sync-savehist)
(remove-hook 'savehist-mode-hook #'better-jumper--load--savehist))
(remove-hook 'savehist-mode-hook #'better-jumper--load-savehist))

(defun better-jumper--is-local-file-buffer (buffer)
"Return non-nil if BUFFER refers to a local file that exists."
Expand Down Expand Up @@ -505,7 +505,7 @@ Cleans up deleted windows and copies history to newly created windows."

(with-eval-after-load 'evil
(defadvice evil-set-jump (before better-jumper activate)
(when (and better-jumper-local-mode
(when (and (bound-and-true-p better-jumper-local-mode)
better-jumper-use-evil-jump-advice
(not (equal better-jump--last-jump-pos (point))))
(better-jumper-set-jump))))
Expand Down

0 comments on commit fe548d2

Please sign in to comment.