From 4b63a9ca3d6451521cdcd2274e9ab1c9b16ba092 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 13 Apr 2012 23:17:38 +0200 Subject: [PATCH] avoid.el compiliation fixups * avoid.el: Require cl when compiling. And also move the `provide' to the end. --- lisp/ChangeLog | 5 +++++ lisp/avoid.el | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 87163f1cae8..c806ed4a803 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-04-13 Lars Ingebrigtsen + + * avoid.el: Require cl when compiling. And also move the + `provide' to the end. + 2012-04-13 Thierry Volpiatto * avoid.el (mouse-avoidance-banish-position): New variable. diff --git a/lisp/avoid.el b/lisp/avoid.el index 81e0737c849..eb8a4ad23a2 100644 --- a/lisp/avoid.el +++ b/lisp/avoid.el @@ -67,7 +67,7 @@ ;;; Code: -(provide 'avoid) +(eval-when-compile (require 'cl)) (defgroup avoid nil "Make mouse pointer stay out of the way of editing." @@ -457,4 +457,6 @@ definition of \"random distance\".)" (if mouse-avoidance-mode (mouse-avoidance-mode mouse-avoidance-mode)) +(provide 'avoid) + ;;; avoid.el ends here -- 2.39.2