]> git.eshelyaron.com Git - emacs.git/commitdiff
Avoid compilation warning in electric.el
authorEli Zaretskii <eliz@gnu.org>
Sun, 1 Oct 2017 16:12:30 +0000 (19:12 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 1 Oct 2017 16:12:30 +0000 (19:12 +0300)
* lisp/electric.el: Require 'elec-pair' when compiling, to avoid a
compiler warning.

lisp/electric.el

index 65e36b7a63f476b42835873c0e9926e99634a31c..599b584c14621c409826845f09a327fd5363a7f3 100644 (file)
@@ -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