mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Remove pointless code in 'electric-quote-mode'
* lisp/electric.el (electric-quote-post-self-insert-function): Remove pointless form.
This commit is contained in:
parent
28e6584861
commit
633db417fc
1 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue