summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/electric.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/electric.el b/lisp/electric.el
index 6e1b685ed66..96c805bb5fb 100644
--- a/lisp/electric.el
+++ b/lisp/electric.el
@@ -482,11 +482,7 @@ This requotes when a quoting key is typed."
(eq beg (nth 8 (save-excursion
(syntax-ppss (1- (point)))))))))
(and electric-quote-paragraph
- (derived-mode-p 'text-mode)
- ;; FIXME: Why is the next form there? It’s never
- ;; nil.
- (or (eq last-command-event ?\`)
- (save-excursion (backward-paragraph) (point))))))
+ (derived-mode-p 'text-mode))))
(pcase electric-quote-chars
(`(,q< ,q> ,q<< ,q>>)
(save-excursion