Skip to content

Commit

Permalink
Merge pull request #738 from getong/fix-void-function-return
Browse files Browse the repository at this point in the history
fix void-function return
  • Loading branch information
manateelazycat committed Oct 12, 2023
2 parents aa4e817 + d9f0f36 commit cd38348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lsp-bridge.el
Original file line number Diff line number Diff line change
Expand Up @@ -1701,9 +1701,9 @@ Off by default."
(setq mark-ring lsp-bridge-mark-ring))

(defun lsp-bridge-find-window-match-filename (filename)
(dolist (window (window-list))
(cl-dolist (window (window-list))
(when (string-equal filename (buffer-file-name (window-buffer window)))
(return window))))
(cl-return window))))

(defun lsp-bridge-define--jump (filename filehost position)
(let (position-before-jump)
Expand Down

0 comments on commit cd38348

Please sign in to comment.