emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] 267/287: Move ergoemacs-hook-functions to prevent warnings


From: Matthew Fidler
Subject: [elpa] 267/287: Move ergoemacs-hook-functions to prevent warnings
Date: Wed, 02 Jul 2014 14:46:34 +0000

mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.

commit 97f2be77d67ba6bf7d5a1a56d9abfa952e35b129
Author: Matthew L. Fidler <address@hidden>
Date:   Mon Jun 30 10:24:39 2014 -0500

    Move ergoemacs-hook-functions to prevent warnings
---
 ergoemacs-mode.el |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/ergoemacs-mode.el b/ergoemacs-mode.el
index 70df726..308bde9 100644
--- a/ergoemacs-mode.el
+++ b/ergoemacs-mode.el
@@ -526,7 +526,12 @@ bindings the keymap is:
 
 
 
-
+(defvar ergoemacs-hook-functions '(delete-selection-pre-hook 
+                                   ac-handle-pre-command
+                                   cua--pre-command-handler
+                                   mc/make-a-note-of-the-command-being-run)
+  "Hooks that are moved to `ergoemacs-pre-command-hook'.
+These hooks are deferred to make sure `this-command' is set appropriately.")
 (unless (featurep 'ergoemacs-advices)
   (load "ergoemacs-advices"))
 
@@ -626,13 +631,6 @@ This is done by checking if this is a command that 
supports shift selection or c
                                       mc--this-command)
   "Commands to set `this-command' to the command run by `ergoemacs-shortcut'")
 
-(defvar ergoemacs-hook-functions '(delete-selection-pre-hook 
-                                   ac-handle-pre-command
-                                   cua--pre-command-handler
-                                   mc/make-a-note-of-the-command-being-run)
-  "Hooks that are moved to `ergoemacs-pre-command-hook'.
-These hooks are deferred to make sure `this-command' is set appropriately.")
-
 (defun ergoemacs-populate-pre-command-hook (&optional depopulate)
   "Populate `ergoemacs-pre-command-hook' with `pre-command-hook' values."
   (let ((from-hook (or (and depopulate 'ergoemacs-pre-command-hook)



reply via email to

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