aboutsummaryrefslogtreecommitdiff
path: root/coq
diff options
context:
space:
mode:
authorPierre Courtieu2015-03-26 16:40:23 +0000
committerPierre Courtieu2015-03-26 16:40:23 +0000
commita8e3c5e6d52bbf52bee76dd1609b7fca9bd48f3e (patch)
treeaf0a3e459ffde6f3e2bc5a8d8315ecbb63bf3728 /coq
parentf9663fdac4e0204b535abb9a6ff509e5717a82a0 (diff)
A remark about project file in the documentation.
Saying that one -arg should be followed by only one option. For several options, put several -arg, ONE PER LINE.
Diffstat (limited to 'coq')
-rw-r--r--coq/coq.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/coq/coq.el b/coq/coq.el
index aebede38..22a145d5 100644
--- a/coq/coq.el
+++ b/coq/coq.el
@@ -1221,7 +1221,8 @@ alreadyopen is t if buffer already existed."
;; match-string 1 must contain the string to add to coqtop command line, so we
;; ignore -arg, we use numbered subregexpr.
(defconst coq-prog-args-regexp
- "\\_<\\(?1:-opt\\|-byte\\)\\|-arg\\(?:[[:space:]]+\\(?1:[^ \t\n#]+\\)\\)?")
+ "\\_<\\(?1:-opt\\|-byte\\)\\|-arg\\(?:[[:space:]]+\\(?1:[^\t\n#]+\\)\\)?")
+
(defun coq-read-option-from-project-file (projectbuffer regexp &optional dirprefix)
"look for occurrences of regexp in buffer projectbuffer and collect subexps.