diff options
| author | Eli Zaretskii | 2017-10-01 19:12:30 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-10-01 19:12:30 +0300 |
| commit | bb47c72de35312b742a1964b31ff315727baed00 (patch) | |
| tree | 1692aa3b08b70cab89a1a68464ba3830108fc6f0 | |
| parent | 8136df6a8cbf071266eb38f5baef005f4e9241a3 (diff) | |
| download | emacs-bb47c72de35312b742a1964b31ff315727baed00.tar.gz emacs-bb47c72de35312b742a1964b31ff315727baed00.zip | |
Avoid compilation warning in electric.el
* lisp/electric.el: Require 'elec-pair' when compiling, to avoid a
compiler warning.
| -rw-r--r-- | lisp/electric.el | 2 |
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 @@ | |||
| 39 | 39 | ||
| 40 | ;;; Code: | 40 | ;;; Code: |
| 41 | 41 | ||
| 42 | (eval-when-compile (require 'elec-pair)) | ||
| 43 | |||
| 42 | ;; This loop is the guts for non-standard modes which retain control | 44 | ;; This loop is the guts for non-standard modes which retain control |
| 43 | ;; until some event occurs. It is a `do-forever', the only way out is | 45 | ;; until some event occurs. It is a `do-forever', the only way out is |
| 44 | ;; to throw. It assumes that you have set up the keymap, window, and | 46 | ;; to throw. It assumes that you have set up the keymap, window, and |