mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
* lisp/electric.el: Break recursive loading loop
(electric-pair-text-pairs): Declare instead of requiring elec-pair.
This commit is contained in:
parent
66d37175ec
commit
ee3024c70d
1 changed files with 2 additions and 2 deletions
|
|
@ -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."
|
||||
|
|
|
|||
Loading…
Reference in a new issue