Commit 669cb9f0 authored by Piotr Trojanek's avatar Piotr Trojanek Committed by Guillaume Melquiond

minor removal of concat in Emacs mode

Use an optional 'words argument to regexp-opt instead of explicitly
surrounding the result with special chars.
parent bb9003c3
......@@ -21,7 +21,7 @@
;; font-lock
(defun why3-regexp-opt (l)
(concat "\\<" (concat (regexp-opt l t) "\\>")))
(regexp-opt l 'words))
(defconst why3-font-lock-keywords-1
(list
......@@ -175,4 +175,3 @@
(run-hooks 'why3-mode-hook))
(provide 'why3)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment