mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
Fix +ivy--set-jump-point-maybe-h: wrong-type-argument markerp
This commit is contained in:
@ -85,12 +85,12 @@ results buffer.")
|
|||||||
|
|
||||||
(add-hook! 'minibuffer-exit-hook
|
(add-hook! 'minibuffer-exit-hook
|
||||||
(defun +ivy--set-jump-point-maybe-h ()
|
(defun +ivy--set-jump-point-maybe-h ()
|
||||||
(and (markerp (bound-and-true-p +ivy--origin))
|
(when (markerp (bound-and-true-p +ivy--origin))
|
||||||
(not (equal (ignore-errors (with-ivy-window (point-marker)))
|
(unless (equal (ignore-errors (with-ivy-window (point-marker)))
|
||||||
+ivy--origin))
|
+ivy--origin)
|
||||||
(with-current-buffer (marker-buffer +ivy--origin)
|
(with-current-buffer (marker-buffer +ivy--origin)
|
||||||
(better-jumper-set-jump +ivy--origin)))
|
(better-jumper-set-jump +ivy--origin)))
|
||||||
(set-marker +ivy--origin nil)
|
(set-marker +ivy--origin nil))
|
||||||
(setq +ivy--origin nil)))
|
(setq +ivy--origin nil)))
|
||||||
|
|
||||||
(after! yasnippet
|
(after! yasnippet
|
||||||
|
Reference in New Issue
Block a user