Skip to content

Commit bac717a

Browse files
committed
Fix indentation
1 parent 9209cf1 commit bac717a

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

resize-window.el

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ CHOICE is a \(key function documentation allows-capitals\)."
189189
(defun resize-window--get-documentation-strings ()
190190
"Return documented keybindings as a multiline string."
191191
(mapconcat #'identity (mapcar 'resize-window--display-choice
192-
resize-window-dispatch-alist)
192+
resize-window-dispatch-alist)
193193
"\n"))
194194

195195
(defun resize-window--make-background ()
@@ -211,14 +211,14 @@ If SCALED, then call action with the `resize-window-uppercase-argument'."
211211
(unless (equal (resize-window--choice-keybinding choice) ??)
212212
(resize-window--notify "%s" description))
213213
(condition-case nil
214-
(if scaled
215-
(funcall action (resize-window-uppercase-argument))
216-
(funcall action))
217-
218-
(wrong-number-of-arguments
219-
(resize-window--notify "Invalid arity in function for %s"
220-
(char-to-string
221-
(resize-window--choice-keybinding choice)))))))
214+
(if scaled
215+
(funcall action (resize-window-uppercase-argument))
216+
(funcall action))
217+
(wrong-number-of-arguments
218+
(resize-window--notify
219+
"Invalid arity in function for %s"
220+
(char-to-string
221+
(resize-window--choice-keybinding choice)))))))
222222

223223
;;;###autoload
224224
(defun resize-window ()
@@ -337,7 +337,8 @@ If no SIZE is given, extend by `resize-window-lowercase-argument'."
337337

338338
(defun resize-window--key-available? (key)
339339
"Return non-nil if KEY is bound, otherwise return nil."
340-
(let ((keys (mapcar #'resize-window--choice-keybinding resize-window-dispatch-alist)))
340+
(let ((keys (mapcar #'resize-window--choice-keybinding
341+
resize-window-dispatch-alist)))
341342
(not (member key keys))))
342343

343344
(defun resize-window-add-choice (key func doc &optional allows-capitals)
@@ -351,8 +352,10 @@ capitals, and should be of optional single arity if they allow
351352
capitals. Invoking with the capital will pass the capital
352353
argument."
353354
(if (resize-window--key-available? key)
354-
(push (list key func doc allows-capitals) resize-window-dispatch-alist)
355-
(message "The `%s` key is already taken for resize-window." (char-to-string key))))
355+
(push (list key func doc allows-capitals)
356+
resize-window-dispatch-alist)
357+
(message "The `%s` key is already taken for resize-window."
358+
(char-to-string key))))
356359

357360
(provide 'resize-window)
358361
;;; resize-window.el ends here

0 commit comments

Comments
 (0)