Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "File: " skipping when building the elements of the imenu
We shouldn't be using `skip-chars-forward' here as this function skips over any _character set_ passed as argument, not just a string. Without this patch, for instance entries like: File: lol/foo.bar Will be added to the candidates list as "ol/foo.bar" as ?l is in the character set "File: ". Instead, just skips 6 chars forward.
- Loading branch information
1 parent
51596cb
commit 715fe33
Showing
3 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
imenu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters