[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master e0531fd 26/68: ace-window.el: add work-around for autoload
From: |
Oleh Krehel |
Subject: |
[elpa] master e0531fd 26/68: ace-window.el: add work-around for autoload |
Date: |
Sat, 21 Mar 2015 19:06:56 +0000 |
branch: master
commit e0531fdbda14c932d39e5f0edf2336589209d9c4
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
ace-window.el: add work-around for autoload
Up to now, the `aw-generic' macro was called inside the autoload file.
Now define empty functions that generate the autoload entry points,
then redefine them using the old mechanism.
Fixes #13.
---
ace-window.el | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/ace-window.el b/ace-window.el
index 67cc7cb..1a83ede 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -232,16 +232,20 @@ HANDLER is a function that takes a window argument."
;; ——— Interactive
—————————————————————————————————————————————————————————————
;;;###autoload
+(defun ace-select-window () (interactive) "Ace select window.")
+;;;###autoload
+(defun ace-delete-window () (interactive) "Ace delete window.")
+;;;###autoload
+(defun ace-swap-window () (interactive) "Ace swap window.")
+
(defalias 'ace-select-window
(aw-generic " Ace - Window" aw-switch-to-window)
"Ace select window.")
-;;;###autoload
(defalias 'ace-delete-window
(aw-generic " Ace - Delete Window" aw-delete-window)
"Ace delete window.")
-;;;###autoload
(defalias 'ace-swap-window
(aw-generic " Ace - Swap Window" aw-swap-window)
"Ace swap window.")
- [elpa] master 8f20278 16/68: ace-window.el (aw-generic): switch to cl-position, (continued)
- [elpa] master 8f20278 16/68: ace-window.el (aw-generic): switch to cl-position, Oleh Krehel, 2015/03/21
- [elpa] master 6053545 17/68: Respect `aw-scope' when jumping with `next-window', Oleh Krehel, 2015/03/21
- [elpa] master 5127bfd 20/68: ace-window.el (aw-generic): finalize improve for hscroll, Oleh Krehel, 2015/03/21
- [elpa] master 12a34df 19/68: ace-window.el (aw-generic): improve for hscroll, Oleh Krehel, 2015/03/21
- [elpa] master 1082953 24/68: ace-window.el: add custom buffer ignoring, Oleh Krehel, 2015/03/21
- [elpa] master c351368 23/68: ace-window.el (aw-visual-area<): improve., Oleh Krehel, 2015/03/21
- [elpa] master 9020f42 22/68: ace-window.el (ace-window): update doc, Oleh Krehel, 2015/03/21
- [elpa] master 56d4aee 27/68: ace-window.el: tag 0.5.0, Oleh Krehel, 2015/03/21
- [elpa] master 5174ca2 25/68: ace-window.el (aw-generic): handle zero-length read-only buffers better, Oleh Krehel, 2015/03/21
- [elpa] master 0e821a2 29/68: ace-window.el (aw-offset): use inhibit-field-text-motion t, Oleh Krehel, 2015/03/21
- [elpa] master e0531fd 26/68: ace-window.el: add work-around for autoload,
Oleh Krehel <=
- [elpa] master b7b8e72 28/68: ace-window.el (aw-list-visual-area): improve, Oleh Krehel, 2015/03/21
- [elpa] master f7001fb 33/68: ace-window.el (aw-background): new custom, Oleh Krehel, 2015/03/21
- [elpa] master 038a426 31/68: ace-window.el: whitespace, Oleh Krehel, 2015/03/21
- [elpa] master c8d7ae1 21/68: ace-window.el: change version to 0.3.0, Oleh Krehel, 2015/03/21
- [elpa] master 5fb2caf 36/68: ace-window.el: mark two customs as boolean, Oleh Krehel, 2015/03/21
- [elpa] master 3a06c99 35/68: ace-window.el (aw--doit): fix conflict with helm, Oleh Krehel, 2015/03/21
- [elpa] master db5763f 32/68: ace-window.el (aw-swap-window): improve, Oleh Krehel, 2015/03/21
- [elpa] master 22ebc3a 34/68: ace-window.el (aw--doit): use map with most priority, Oleh Krehel, 2015/03/21
- [elpa] master e03ceb9 30/68: ace-window.el: remove aw-generic macro, Oleh Krehel, 2015/03/21
- [elpa] master 8d40101 39/68: ace-window.el (ace-window-end-hook): add, Oleh Krehel, 2015/03/21