Skip to content

Commit 0683e96

Browse files
authored
Merge pull request #840 from hendriktews/prooftree-fixes
Coq prooftree: recognize "2 : {" as navigation command
2 parents 35259a9 + 953ff2e commit 0683e96

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

coq/coq.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,9 @@ It is mostly useful in three window mode, see also
242242
(defcustom coq-navigation-command-regexp
243243
(concat "^\\(\\(Focus\\)\\|\\(Unfocus\\)\\|"
244244
"\\(all\\s-*:\\s-*\\(cycle\\|swap\\|revgoals\\)\\)\\|"
245-
"\\(\\+\\)\\|\\(-\\)\\|\\(\\*\\)\\|\\({\\)\\|\\(}\\)\\)")
245+
"\\(\\+\\)\\|\\(-\\)\\|\\(\\*\\)\\|"
246+
"\\(\\([0-9]+\\s-*:\\s-*\\)?{\\)\\|"
247+
"\\(}\\)\\)")
246248
"Regexp for `proof-tree-navigation-command-regexp'."
247249
:type 'regexp
248250
:group 'coq-proof-tree)

0 commit comments

Comments
 (0)