summaryrefslogtreecommitdiff
path: root/test/lisp/electric-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp/electric-tests.el')
-rw-r--r--test/lisp/electric-tests.el6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/lisp/electric-tests.el b/test/lisp/electric-tests.el
index b55d889f0b5..5a4b20ed04e 100644
--- a/test/lisp/electric-tests.el
+++ b/test/lisp/electric-tests.el
@@ -47,14 +47,10 @@
(declare (indent defun) (debug t))
`(call-with-saved-electric-modes #'(lambda () ,@body)))
-;; Defined in lisp/progmodes/cc-cmds.el
-(defvar c--disable-fix-of-bug-33794 t)
-
(defun electric-pair-test-for (fixture where char expected-string
expected-point mode bindings fixture-fn)
(with-temp-buffer
(funcall mode)
- (setq-local c--disable-fix-of-bug-33794 t)
(insert fixture)
(save-electric-modes
(let ((last-command-event char)
@@ -825,7 +821,6 @@ baz\"\""
(electric-layout-local-mode 1)
(electric-pair-local-mode 1)
(electric-indent-local-mode 1)
- (setq-local c--disable-fix-of-bug-33794 t)
(setq-local electric-layout-rules
'((?\{ . (after-stay after))))
(insert "int main () ")
@@ -839,7 +834,6 @@ baz\"\""
(electric-layout-local-mode 1)
(electric-pair-local-mode 1)
(electric-indent-local-mode 1)
- (setq-local c--disable-fix-of-bug-33794 t)
(setq-local electric-layout-rules
'((?\{ . (before after-stay after))))
(insert "int main () ")