Skip to content

Commit 8526ce3

Browse files
committed
Remove redundant code
1 parent ca7aba2 commit 8526ce3

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

phpactor.el

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -546,16 +546,12 @@ If FORCE-UPDATE is non-NIL, purge index before building."
546546
(unless target
547547
(setq target "focused_window"))
548548

549-
(if (fboundp 'xref-push-marker-stack)
550-
(xref-push-marker-stack)
551-
(with-no-warnings
552-
(ring-insert find-tag-marker-ring (point-marker))))
549+
(xref-push-marker-stack)
553550

554551
(let ((buf (find-buffer-visiting path)))
555552
(when (and force_reload buf)
556-
(progn
557-
(set-buffer buf)
558-
(revert-buffer t t t))))
553+
(set-buffer buf)
554+
(revert-buffer t t t)))
559555
(find-file path)
560556
(goto-char (1+ (byte-to-position (max 1 offset)))))
561557

0 commit comments

Comments
 (0)