From a44b0660f0dfee7c4e594ea5f708d3ddc4f27a3e Mon Sep 17 00:00:00 2001 From: Greg Sexton Date: Wed, 20 May 2015 21:09:05 +0100 Subject: [PATCH] Colons can appear in elisp function names --- origami-parsers.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/origami-parsers.el b/origami-parsers.el index 6f05296..817baa3 100644 --- a/origami-parsers.el +++ b/origami-parsers.el @@ -212,7 +212,7 @@ position in the CONTENT." (reverse acc))))) (defun origami-elisp-parser (create) - (origami-lisp-parser create "(def\\w*\\s-*\\(\\s_\\|\\w\\|[?!]\\)*\\([ \\t]*(.*?)\\)?")) + (origami-lisp-parser create "(def\\w*\\s-*\\(\\s_\\|\\w\\|[:?!]\\)*\\([ \\t]*(.*?)\\)?")) (defun origami-clj-parser (create) (origami-lisp-parser create "(def\\(\\w\\|-\\)*\\s-*\\(\\s_\\|\\w\\|[?!]\\)*\\([ \\t]*\\[.*?\\]\\)?"))