emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 633db41 2/3: Remove pointless code in 'electric-quo


From: Philipp Stephani
Subject: [Emacs-diffs] master 633db41 2/3: Remove pointless code in 'electric-quote-mode'
Date: Sun, 9 Jul 2017 15:56:03 -0400 (EDT)

branch: master
commit 633db417fc3e905b28b017facdf596b36914b44d
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>

    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 6e1b685..96c805b 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]