diff options
author | Pierre Courtieu <courtieu@lri.fr> | 2014-12-23 02:00:07 +0000 |
---|---|---|
committer | Pierre Courtieu <courtieu@lri.fr> | 2014-12-23 02:00:07 +0000 |
commit | 424ce5f435a14cbcfc85d333d365d0066106e55b (patch) | |
tree | 7ba1df349c1e08d19d1e7deaccbdc524f4e9f1d4 | |
parent | 13d8ad97def828eb7ee441eec21d1cbd96e5f5b2 (diff) |
Fix a special case in _CoqProject syntax (empty string).
-rw-r--r-- | coq/coq.el | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1157,8 +1157,9 @@ allows to call coqtop from a subdirectory of the project." (second (match-string 2)) (first (if (null dirprefix) firstfname (expand-file-name firstfname dirprefix)))) - (if second - (setq opt (cons (list first second) opt)) + (if second ; if second arg is "" (two doublequotes), it means empty string + (let ((sec (if (string-equal second "\"\"") "" second))) + (setq opt (cons (list first sec) opt))) (setq opt (cons first opt)))))) (reverse opt)))) |