diff options
author | Chunyang Xu <xuchunyang56@gmail.com> | 2015-10-20 17:40:10 +0800 |
---|---|---|
committer | Chunyang Xu <xuchunyang56@gmail.com> | 2015-10-20 17:40:10 +0800 |
commit | 0c3dfa29cd17edfb5fd97a4711c72f2422774ca2 (patch) | |
tree | 4c67dff70ce680637548c9b55c4f1f8ab78877e8 /helm-source.el | |
parent | f7ff9bc92f69ac20eab110233853ab7ee5efd20e (diff) |
Prevent setting 'header-line slot twice
Diffstat (limited to 'helm-source.el')
-rw-r--r-- | helm-source.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helm-source.el b/helm-source.el index 0f38509b..21103d7a 100644 --- a/helm-source.el +++ b/helm-source.el @@ -858,10 +858,10 @@ an eieio class." (defmethod helm--setup-source :before ((source helm-source)) (helm-aif (slot-value source 'keymap) (and (symbolp it) (set-slot-value source 'keymap (symbol-value it)))) - (set-slot-value source 'header-line (helm-source--header-line source)) (helm-aif (slot-value source 'persistent-help) (set-slot-value source 'header-line - (helm-source--persistent-help-string it source))) + (helm-source--persistent-help-string it source)) + (set-slot-value source 'header-line (helm-source--header-line source))) (helm-aif (slot-value source 'candidate-number-limit) (and (symbolp it) (set-slot-value source 'candidate-number-limit (symbol-value it)))) |