[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master ee3024c: * lisp/electric.el: Break recursive loadin
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] master ee3024c: * lisp/electric.el: Break recursive loading loop |
Date: |
Sun, 1 Oct 2017 17:15:27 -0400 (EDT) |
branch: master
commit ee3024c70d2974b59ecdd04b75d18d7258262e70
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* lisp/electric.el: Break recursive loading loop
(electric-pair-text-pairs): Declare instead of requiring elec-pair.
---
lisp/electric.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/electric.el b/lisp/electric.el
index 599b584..5f43044 100644
--- a/lisp/electric.el
+++ b/lisp/electric.el
@@ -39,8 +39,6 @@
;;; Code:
-(eval-when-compile (require 'elec-pair))
-
;; This loop is the guts for non-standard modes which retain control
;; until some event occurs. It is a `do-forever', the only way out is
;; to throw. It assumes that you have set up the keymap, window, and
@@ -471,6 +469,8 @@ substitution is inhibited. The functions are called after
the
after the inserted character. The functions in this hook should
not move point or change the current buffer.")
+(defvar electric-pair-text-pairs)
+
(defun electric-quote-post-self-insert-function ()
"Function that `electric-quote-mode' adds to `post-self-insert-hook'.
This requotes when a quoting key is typed."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master ee3024c: * lisp/electric.el: Break recursive loading loop,
Stefan Monnier <=