summaryrefslogtreecommitdiff
path: root/helm-utils.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2017-09-18 08:36:06 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2017-09-18 08:36:06 +0200
commit338d4e110e8efd4543fedc6959fc3c55c60d1194 (patch)
tree02104f37ac0c35e34daa3141b81c09c328e0178a /helm-utils.el
parent6d393eb278c881ec40462b8f3227f1396c234618 (diff)
Fix long lines
* helm-utils.el (helm-simultaneous-find-file): Do it.
Diffstat (limited to 'helm-utils.el')
-rw-r--r--helm-utils.el24
1 files changed, 15 insertions, 9 deletions
diff --git a/helm-utils.el b/helm-utils.el
index 90495903..ba482db7 100644
--- a/helm-utils.el
+++ b/helm-utils.el
@@ -258,15 +258,21 @@ When called with a prefix arg split is done vertically."
for f in it
for count from 1
for buf = (find-file-noselect f)
- unless nosplit
- do (condition-case-unless-debug _err
- (helm-switch-to-buffer-other-window buf 'balance)
- (error (setq nosplit t)
- (message "%d files displayed, %d files opening in background..."
- (setq displayed count)
- (setq remaining (- len count))) nil))
- finally (when nosplit (message "%d files displayed, %d files opened in background"
- displayed remaining)))))))
+ unless nosplit do
+ (condition-case-unless-debug _err
+ (helm-switch-to-buffer-other-window buf 'balance)
+ (error
+ (setq nosplit t)
+ (message
+ "%d files displayed, %d files opening in background..."
+ (setq displayed count)
+ (setq remaining (- len count)))
+ nil))
+ finally
+ (when nosplit
+ (message
+ "%d files displayed, %d files opened in background"
+ displayed remaining)))))))
(defun helm-switch-to-buffer-other-window (buffer-or-name &optional balance)
"Switch to buffer-or-name in other window.