Skip to content

Commit

Permalink
emacs-mode: fix hol-mode's handling of open_...
Browse files Browse the repository at this point in the history
Thanks to Magnus for the bug report.
  • Loading branch information
Michael Norrish committed Jun 12, 2020
1 parent b8db52a commit 3ec1bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/hol-mode.src
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ starts >%s%s<"
hol-quoted-theorem-proof-re-begin "\\|"
hol-quoted-definition-re-begin "\\|"
"\\(" sml-struct-id-regexp "\\)\\.\\w+" "\\|"
"\\<open\\>")))
"\\_<open\\_>")))
(while (re-search-forward regexp (point-max) t)
(let ((pp (syntax-ppss))
(ms (match-string-no-properties 0)))
Expand Down

0 comments on commit 3ec1bb9

Please sign in to comment.