From a291860c233bba21db39672a18f98cf7b162fc72 Mon Sep 17 00:00:00 2001 From: Vasilij Schneidermann Date: Wed, 6 May 2015 09:27:49 +0200 Subject: [PATCH] Add note about numbered window commands --- eyebrowse.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eyebrowse.el b/eyebrowse.el index 65842b0..798aea6 100644 --- a/eyebrowse.el +++ b/eyebrowse.el @@ -364,6 +364,13 @@ another appropriate window config." (eyebrowse-next-window-config nil)) (eyebrowse--delete-window-config (eyebrowse--get 'last-slot))))) +;; NOTE: I've tried out generating the respective commands dynamically +;; with a macro, but this ended in unreadable code and Emacs not being +;; able to locate the generated commands, using lexical binding and a +;; loop resulted in very fun looking key bindings with closures in the +;; command description. That's why I I gave up and just wrote out the +;; first ten commands instead. + (defun eyebrowse-switch-to-window-config-0 () "Switch to window configuration 0." (interactive)