Skip to content

Commit

Permalink
Add comments, no code change
Browse files Browse the repository at this point in the history
  • Loading branch information
Thierry Volpiatto committed Apr 10, 2019
1 parent 0f59a63 commit c8746ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helm-occur.el
Original file line number Diff line number Diff line change
Expand Up @@ -474,10 +474,11 @@ numbered. The property 'buffer-name is added to the whole string."
with mpart
;; Bind helm-pattern used by `helm-grep-split-line'.
with helm-pattern = pattern
while (helm-mm-search pattern)
while (helm-mm-search pattern) ; point is at eol.
;; Calculate line number (linum) and extract real
;; part of line (mpart).
do (when (save-excursion
;; `helm-mm-search' puts point at eol.
(forward-line 0)
(re-search-forward "^\\([0-9]*\\)\\s-\\{1\\}\\(.*\\)$"
(point-at-eol) t))
Expand Down

0 comments on commit c8746ed

Please sign in to comment.