diff options
author | Chunyang Xu <xuchunyang56@gmail.com> | 2015-10-20 18:53:06 +0800 |
---|---|---|
committer | Chunyang Xu <xuchunyang56@gmail.com> | 2015-10-20 18:55:27 +0800 |
commit | 6d0f0ed8d4ed5776eb4b491399ade85d9d0b4629 (patch) | |
tree | 28dc19bbd8d3fbb07aacd38842746227e1ffc2cb /helm-source.el | |
parent | c44843482ef618ec196f8d4fa3d964a359999690 (diff) |
Set persistent-help to "Do Nothing" if action is identity
Diffstat (limited to 'helm-source.el')
-rw-r--r-- | helm-source.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/helm-source.el b/helm-source.el index 1daba4f1..beb737ff 100644 --- a/helm-source.el +++ b/helm-source.el @@ -838,6 +838,10 @@ an eieio class." (helm-aif (or (slot-value source 'persistent-action) (slot-value source 'action)) (cond ((and (symbolp it) + (functionp it) + (eq it 'identity)) + "Do Nothing") + ((and (symbolp it) (boundp it) (listp (symbol-value it)) (stringp (caar (symbol-value it)))) |