aboutsummaryrefslogtreecommitdiffhomepage
path: root/coq/coq-indent.el
diff options
context:
space:
mode:
authorGravatar Stefan Monnier <monnier@iro.umontreal.ca>2012-08-30 14:30:23 +0000
committerGravatar Stefan Monnier <monnier@iro.umontreal.ca>2012-08-30 14:30:23 +0000
commit0d0af3dcce3a9b29d9c33c4cee34ca5249713904 (patch)
treed6b509f668043da0875b8700fd45fca440fc7d7b /coq/coq-indent.el
parent8debcb21e749931c38bd791fef4b0b29b87132c8 (diff)
Summary: Don't quote lambda expressions
* coq/coq-indent.el (coq-indent-inner-regexp): Remove old X-Symbol element. (coq-save-count, coq-proof-count): * obsolete/plastic/plastic.el (plastic-shell-handle-output): * lib/texi-docstring-magic.el (texi-docstring-magic-insert-magic): * lib/pg-dev.el (emacs-lisp-mode-hook): * lib/maths-menu.el (maths-menu-filter-predicate) (maths-menu-tokenise-insert): * lib/holes.el (holes-next): * lego/lego.el (lego-shell-handle-output): * isar/isabelle-system.el (isabelle-docs-menu): * coq/coq.el (coq-compile-command, coq-compile-auto-save) (coq-compile-ignored-directories, coq-load-path-safep) (proof-shell-handle-delayed-output-hook): Don't quote lambda.
Diffstat (limited to 'coq/coq-indent.el')
-rw-r--r--coq/coq-indent.el12
1 files changed, 6 insertions, 6 deletions
diff --git a/coq/coq-indent.el b/coq/coq-indent.el
index 3b5f61ef..2e4d9742 100644
--- a/coq/coq-indent.el
+++ b/coq/coq-indent.el
@@ -22,7 +22,7 @@
(defconst coq-indent-inner-regexp
(proof-regexp-alt
- "[[]()]" "[^{]|[^}]" "šÕ"
+ "[[]()]" "[^{]|[^}]"
;; forall with must not be enclosed by \\< and
;;\\> . "~" forall but interacts with 'not'
(proof-ids-to-regexp
@@ -655,13 +655,13 @@ Returns point if found."
(defun coq-goal-count (l) (coq-add-iter l 'coq-indent-goal-command-p))
(defun coq-save-count (l)
- (coq-add-iter l '(lambda (x)
- (or (coq-save-command-p nil x)
- (eq (proof-string-match "\\<\\(?:EndSubproof\\)\\>\\|}" x) 0)))))
+ (coq-add-iter l (lambda (x)
+ (or (coq-save-command-p nil x)
+ (eq (proof-string-match "\\<\\(?:EndSubproof\\)\\>\\|}" x) 0)))))
(defun coq-proof-count (l)
- (coq-add-iter l '(lambda (x)
- (eq (proof-string-match "\\<\\(?:Proof\\|BeginSubproof\\)\\>\\|{" x) 0))))
+ (coq-add-iter l (lambda (x)
+ (eq (proof-string-match "\\<\\(?:Proof\\|BeginSubproof\\)\\>\\|{" x) 0))))
;; returns the difference between goal (and assimilate Proof and BeginSubproof) and
;; save commands in a commands list. This is to