Skip to content

Commit

Permalink
Use *force-update in toggle details fns
Browse files Browse the repository at this point in the history
  • Loading branch information
thierryvolpiatto committed Jun 29, 2022
1 parent 213ee16 commit 99c0362
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion helm-command.el
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Return nil if no mode-map found."
"Toggle short doc display in helm-M-x."
(interactive)
(setq helm-M-x-show-short-doc (not helm-M-x-show-short-doc))
(helm-update (concat "^" (helm-get-selection)) (helm-get-current-source)))
(helm-force-update (concat "^" (helm-get-selection)) (helm-get-current-source)))
(put 'helm-M-x-toggle-short-doc 'no-helm-mx t)

(defun helm-M-x-transformer-1 (candidates &optional sort ignore-props)
Expand Down
4 changes: 2 additions & 2 deletions helm-elisp.el
Original file line number Diff line number Diff line change
Expand Up @@ -791,8 +791,8 @@ is only used to test DEFAULT."
(unless (memq 'helm-apropos helm-commands-using-frame)
(setq helm-M-x-show-short-doc (not helm-M-x-show-short-doc)
helm-apropos-show-short-doc (not helm-apropos-show-short-doc))
(helm-update (concat "^" (helm-stringify (helm-get-selection)))
(helm-get-current-source)))))
(helm-force-update (concat "^" (helm-stringify (helm-get-selection)))
(helm-get-current-source)))))

;;;###autoload
(defun helm-apropos (default)
Expand Down

0 comments on commit 99c0362

Please sign in to comment.