Add note about numbered window commands

This commit is contained in:
Vasilij Schneidermann
2015-05-06 09:27:49 +02:00
parent 0f6b57d8b4
commit a291860c23

View File

@ -364,6 +364,13 @@ another appropriate window config."
(eyebrowse-next-window-config nil)) (eyebrowse-next-window-config nil))
(eyebrowse--delete-window-config (eyebrowse--get 'last-slot))))) (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 () (defun eyebrowse-switch-to-window-config-0 ()
"Switch to window configuration 0." "Switch to window configuration 0."
(interactive) (interactive)