diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2015-11-15 11:33:05 +0100 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2015-11-15 11:35:32 +0100 |
commit | e1970eedc50f85c0be37076e8dd4cca3fa3997f6 (patch) | |
tree | 52b3890d0409ccd71fa4721897ed305e19e1c562 /helm-types.el | |
parent | b6709773f2b12247d3d55f784f18572f99871905 (diff) |
Fix filter in timer sources (#1260).
* helm-elisp.el (helm-absolute-time-timers-class):
Use candidate-transformer and not volatile.
(helm-idle-time-timers-class): Same.
* helm-types.el (helm-type-timers-actions): Fix find-function action
with anonymous fns.
Diffstat (limited to 'helm-types.el')
-rw-r--r-- | helm-types.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/helm-types.el b/helm-types.el index 69ce8ac4..d622d3fd 100644 --- a/helm-types.el +++ b/helm-types.el @@ -236,7 +236,10 @@ ("Describe Function" . (lambda (tm) (describe-function (timer--function tm)))) ("Find Function" . (lambda (tm) - (find-function (timer--function tm))))) + (helm-aif (timer--function tm) + (if (byte-code-function-p it) + (message "Can't find anonymous function `%s'" it) + (find-function it)))))) "Default actions for type timers." :group 'helm-elisp :type '(alist :key-type string :value-type function)) |