[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 038a426 31/68: ace-window.el: whitespace
From: |
Oleh Krehel |
Subject: |
[elpa] master 038a426 31/68: ace-window.el: whitespace |
Date: |
Sat, 21 Mar 2015 19:06:58 +0000 |
branch: master
commit 038a426ed9e6d4407d59dbe10619cbb85df84d7b
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>
ace-window.el: whitespace
---
ace-window.el | 24 +++++++++++++-----------
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/ace-window.el b/ace-window.el
index 2cc0f84..99fcd64 100644
--- a/ace-window.el
+++ b/ace-window.el
@@ -106,9 +106,9 @@ Use M-0 `ace-window' to toggle this value."
(defun aw--callback ()
"Call `aw--current-op' for the window selected by ace-jump."
(interactive)
- (let* ((ret (cl-position (aref (this-command-keys) 0)
- aw-keys))
- (index (or ret (length aw-keys)))
+ (let* ((index (or (cl-position (aref (this-command-keys) 0)
+ aw-keys)
+ (length aw-keys)))
(node (nth index (cdr ace-jump-search-tree))))
(cond ((null node)
(message "No such position candidate.")
@@ -247,16 +247,18 @@ Set mode line to MODE-LINE during the selection process."
;;;###autoload
(defun ace-window (arg)
- "Select a window with `ace-jump-mode'and perform an action based on prefix
ARG.
-Variations are described below.
+ "Select a window with function `ace-jump-mode'.
+Perform an action based on ARG described below.
By default, behaves like extended `other-window'.
-Prefixed with one \\[universal-argument], does a swap between selected window
- and current window, so that the selected buffer moves to current window (and
- current buffer moves to selected window).
+Prefixed with one \\[universal-argument], does a swap between the
+selected window and the current window, so that the selected
+buffer moves to current window (and current buffer moves to
+selected window).
-Prefixed with two \\[universal-argument]'s, deletes the selected window."
+Prefixed with two \\[universal-argument]'s, deletes the selected
+window."
(interactive "p")
(cl-case arg
(0
@@ -295,7 +297,7 @@ Windows are numbered top down, left to right."
(select-frame-set-input-focus frame))
(if (window-live-p window)
(select-window window)
- (error "aw-delete-window: %S" aj-data))))
+ (error "Bad aj-data, aw-delete-window: %S" aj-data))))
(defun aw-delete-window (aj-data)
"Delete window of `aj-position' structure AJ-DATA."
@@ -308,7 +310,7 @@ Windows are numbered top down, left to right."
(delete-frame frame)
(if (window-live-p window)
(delete-window window)
- (error "aw-delete-window: %S" aj-data)))))
+ (error "Bad aj-data, aw-delete-window: %S" aj-data)))))
(defun aw-swap-window (aj-data)
"Swap buffers of current window and that of `aj-position' structure AJ-DATA."
- [elpa] master 12a34df 19/68: ace-window.el (aw-generic): improve for hscroll, (continued)
- [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, 2015/03/21
- [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 <=
- [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
- [elpa] master 752c2cc 37/68: README.md: update, Oleh Krehel, 2015/03/21
- [elpa] master b86d163 40/68: ace-window.el (ace-window-end-once-hook): Add, Oleh Krehel, 2015/03/21
- [elpa] master 6becad8 38/68: ace-window.el: bump version, Oleh Krehel, 2015/03/21