Skip to content

Commit

Permalink
Fix bug in imenu associated with previous commit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gmlarumbe committed May 12, 2023
1 parent 1227375 commit 1fd566b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verilog-ext-imenu.el
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Find recursively tasks and functions inside classes."
(let* ((data (and (verilog-ext-find-class-bwd)
(verilog-ext-forward-sexp)
(verilog-ext-find-function-task-class-bwd)))
(pos (when data
(pos (when (alist-get 'pos data)
(save-excursion
(goto-char (alist-get 'pos data))
(line-beginning-position))))
Expand Down

0 comments on commit 1fd566b

Please sign in to comment.