diff options
| author | Philipp Stephani | 2017-07-02 18:04:38 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2017-07-09 21:55:30 +0200 |
| commit | 633db417fc3e905b28b017facdf596b36914b44d (patch) | |
| tree | 50c9dd00a2f3c0ff97a7c021379acf65d65649e6 | |
| parent | 28e6584861a7f80b199edcd0d9eb3d97e344958f (diff) | |
| download | emacs-633db417fc3e905b28b017facdf596b36914b44d.tar.gz emacs-633db417fc3e905b28b017facdf596b36914b44d.zip | |
Remove pointless code in 'electric-quote-mode'
* lisp/electric.el (electric-quote-post-self-insert-function): Remove
pointless form.
| -rw-r--r-- | lisp/electric.el | 6 |
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." | |||
| 482 | (eq beg (nth 8 (save-excursion | 482 | (eq beg (nth 8 (save-excursion |
| 483 | (syntax-ppss (1- (point))))))))) | 483 | (syntax-ppss (1- (point))))))))) |
| 484 | (and electric-quote-paragraph | 484 | (and electric-quote-paragraph |
| 485 | (derived-mode-p 'text-mode) | 485 | (derived-mode-p 'text-mode)))) |
| 486 | ;; FIXME: Why is the next form there? It’s never | ||
| 487 | ;; nil. | ||
| 488 | (or (eq last-command-event ?\`) | ||
| 489 | (save-excursion (backward-paragraph) (point)))))) | ||
| 490 | (pcase electric-quote-chars | 486 | (pcase electric-quote-chars |
| 491 | (`(,q< ,q> ,q<< ,q>>) | 487 | (`(,q< ,q> ,q<< ,q>>) |
| 492 | (save-excursion | 488 | (save-excursion |