Remove pointless code in 'electric-quote-mode'

* lisp/electric.el (electric-quote-post-self-insert-function): Remove
pointless form.
This commit is contained in:
Philipp Stephani 2017-07-02 18:04:38 +02:00
parent 28e6584861
commit 633db417fc

View file

@ -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? Its 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