From 0acddd26f1bdb9b08dea9812af2883925e023557 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Sun, 2 Jul 2017 18:04:38 +0200 Subject: [PATCH 2/3] Remove pointless code in 'electric-quote-mode' * lisp/electric.el (electric-quote-post-self-insert-function): Remove pointless form. --- lisp/electric.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lisp/electric.el b/lisp/electric.el index 103f378ed3..a1e9079cb1 100644 --- a/lisp/electric.el +++ b/lisp/electric.el @@ -477,11 +477,7 @@ electric-quote-post-self-insert-function ;; FIXME: There should be a ‘cl-disjoint’ function. (null (cl-intersection (face-at-point nil 'multiple) electric-quote-code-faces - :test #'eq)) - ;; FIXME: Why is the next form there? It’s never - ;; nil. - (or (eq last-command-event ?\`) - (save-excursion (backward-paragraph) (point)))))) + :test #'eq))))) (pcase electric-quote-chars (`(,q< ,q> ,q<< ,q>>) (save-excursion -- 2.13.2