diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2015-09-18 08:05:42 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2015-09-18 08:05:42 +0200 |
commit | 99a11fc3602a764aa85d35d6f8b2b9acdf50bdff (patch) | |
tree | 2031b6337ac4455fc8639fa27df4f638d0075539 /helm-source.el | |
parent | e54ac68f841ed44e82bf4ff4b1ea6f65662b11da (diff) |
Allow use of migemo only in sync and in-buffer classes.
* helm-source.el (helm-source): Removed.
(helm-source-sync): Added.
(helm-source-async): Removed.
(helm-source-in-buffer): Added.
Diffstat (limited to 'helm-source.el')
-rw-r--r-- | helm-source.el | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/helm-source.el b/helm-source.el index 1d514289..eaf0a34d 100644 --- a/helm-source.el +++ b/helm-source.el @@ -497,15 +497,7 @@ :custom list :documentation " A list of compile functions plugin to ignore.") - - (migemo - :initarg :migemo - :initform nil - :custom boolean - :documentation - " Needed for Japanese input with helm-migemo.el. - If you are not Japanese, ignore this.") - + (matchplugin :initarg :matchplugin :initform t @@ -548,7 +540,17 @@ (dont-plug :initform '(helm-compile-source--multi-match helm-compile-source--persistent-help + ;; Ensure this will not be plugged + ;; if user have somewhere old helm-migemo.el. helm-compile-source--migemo)) + + (migemo + :initarg :migemo + :initform nil + :custom boolean + :documentation + " Enable migemo. + It will be available for this source once `helm-migemo-mode' is enabled.") (match-strict :initarg :match-strict @@ -586,8 +588,7 @@ Matching is done basically with `string-match' against each candidate.") (matchplugin :initform nil) (dont-plug :initform '(helm-compile-source--multi-match - helm-compile-source--persistent-help - helm-compile-source--migemo))) + helm-compile-source--persistent-help))) "Use this class to define a helm source calling an external process. The :candidates slot is not allowed even if described because this class @@ -612,6 +613,14 @@ inherit from `helm-source'.") helm-compile-source--multi-match helm-compile-source--persistent-help helm-compile-source--migemo)) + + (migemo + :initarg :migemo + :initform nil + :custom boolean + :documentation + " Enable migemo. + It will be available for this source once `helm-migemo-mode' is enabled.") (candidates :initform 'helm-candidates-in-buffer) |