emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master bb47c72: Avoid compilation warning in electric.el


From: Eli Zaretskii
Subject: [Emacs-diffs] master bb47c72: Avoid compilation warning in electric.el
Date: Sun, 1 Oct 2017 12:13:14 -0400 (EDT)

branch: master
commit bb47c72de35312b742a1964b31ff315727baed00
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Avoid compilation warning in electric.el
    
    * lisp/electric.el: Require 'elec-pair' when compiling, to avoid a
    compiler warning.
---
 lisp/electric.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/electric.el b/lisp/electric.el
index 65e36b7..599b584 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]