Skip to content

Commit

Permalink
* helm-bmkext.el (helm-source-bmkext-addressbook): Fix prefix arg usage.
Browse files Browse the repository at this point in the history
* helm-grep.el: reindent.
  • Loading branch information
thierryvolpiatto committed Apr 6, 2013
1 parent ef5874d commit b72545d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
12 changes: 6 additions & 6 deletions helm-bmkext.el
Expand Up @@ -67,22 +67,22 @@
. (lambda (candidate)
(let ((bmk (helm-bookmark-get-bookmark-from-name
candidate)))
(bookmark--jump-via bmk 'pop-to-buffer))))
(bookmark--jump-via bmk 'switch-to-buffer))))
(persistent-help . "Show contact - Prefix with C-u to append")
(filtered-candidate-transformer
helm-adaptive-sort
helm-highlight-bookmark)
(action . (("Show Contact(s)"
. (lambda (candidate)
(let* ((contacts (helm-marked-candidates))
(current-prefix-arg (or helm-current-prefix-arg
(> (length contacts) 1))))
(current-prefix-arg helm-current-prefix-arg))
(bookmark-jump
(helm-bookmark-get-bookmark-from-name (car contacts)))
(helm-aif (cdr contacts)
(loop for bmk in it do
(bookmark-jump
(helm-bookmark-get-bookmark-from-name bmk)))))))
(let ((current-prefix-arg '(4)))
(loop for bmk in it do
(bookmark-jump
(helm-bookmark-get-bookmark-from-name bmk))))))))
("Send Mail"
. (lambda (candidate)
(let* ((contacts (helm-marked-candidates))
Expand Down
4 changes: 1 addition & 3 deletions helm-grep.el
Expand Up @@ -717,9 +717,7 @@ Special commands:
:fc-transformer '(helm-adaptive-sort
helm-grep-ack-types-transformer)
:buffer "*helm ack-types*")))
(mapconcat #'(lambda (type)
(concat "--type=" type))
types " ")))
(mapconcat #'(lambda (type) (concat "--type=" type)) types " ")))


;;; grep extensions
Expand Down

0 comments on commit b72545d

Please sign in to comment.