Skip to content

Commit

Permalink
Fix #140 for old Emacs
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Jun 19, 2018
1 parent 52888ec commit ee259fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lsp-ui-sideline.el
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ to the language server."
(let ((eol (line-end-position))
(bol (line-beginning-position))
(tag (lsp-ui-sideline--calculate-tag))
(line-widen (line-number-at-pos nil 'absolute))
(line-widen (save-restriction (widen) (line-number-at-pos)))
(doc-id (lsp--text-document-identifier)))
(save-excursion
(setq lsp-ui-sideline--occupied-lines nil
Expand Down

1 comment on commit ee259fd

@alanz
Copy link
Contributor

@alanz alanz commented on ee259fd Jun 19, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me, thanks.

Please sign in to comment.