summaryrefslogtreecommitdiff
path: root/lisp/electric.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2017-10-01 19:12:30 +0300
committerEli Zaretskii <eliz@gnu.org>2017-10-01 19:12:30 +0300
commitbb47c72de35312b742a1964b31ff315727baed00 (patch)
tree1692aa3b08b70cab89a1a68464ba3830108fc6f0 /lisp/electric.el
parent8136df6a8cbf071266eb38f5baef005f4e9241a3 (diff)
downloademacs-bb47c72de35312b742a1964b31ff315727baed00.tar.gz
Avoid compilation warning in electric.el
* lisp/electric.el: Require 'elec-pair' when compiling, to avoid a compiler warning.
Diffstat (limited to 'lisp/electric.el')
-rw-r--r--lisp/electric.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/electric.el b/lisp/electric.el
index 65e36b7a63f..599b584c146 100644
--- a/lisp/electric.el
+++ b/lisp/electric.el
@@ -39,6 +39,8 @@
;;; 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