Commit ee3024c7 authored by Stefan Monnier's avatar Stefan Monnier

* lisp/electric.el: Break recursive loading loop

(electric-pair-text-pairs): Declare instead of requiring elec-pair.
parent 66d37175
......@@ -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."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment