Skip to content

Commit e8e6e47

Browse files
committed
Revert "Does not goto-char when offset is 0"
This reverts commit d8b8a29.
1 parent 32cfc6f commit e8e6e47

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

phpactor.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,7 @@
287287
(ring-insert find-tag-marker-ring (point-marker))))
288288

289289
(find-file path)
290-
(unless (zerop offset)
291-
(goto-char (1+ (byte-to-position offset)))))
290+
(goto-char (1+ (byte-to-position offset))))
292291

293292
(cl-defun phpactor-action-close-file (&key path)
294293
"Close file from Phpactor."

0 commit comments

Comments
 (0)