diff options
author | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2015-05-21 18:20:23 +0200 |
---|---|---|
committer | Thierry Volpiatto <thierry.volpiatto@gmail.com> | 2015-05-21 18:20:23 +0200 |
commit | 827fca0d6e5dddbe31e921ad6cc3bab22c8e8e92 (patch) | |
tree | a5516ec8192b5dd38df843e54aa6d49c90b2571c /helm-semantic.el | |
parent | 8612bf1636907ad07ad07bc869281336b181a28b (diff) |
* helm-semantic.el (helm-semantic-display-style): Fix docstring.
Diffstat (limited to 'helm-semantic.el')
-rw-r--r-- | helm-semantic.el | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/helm-semantic.el b/helm-semantic.el index 3bff4375..2a7cf6a1 100644 --- a/helm-semantic.el +++ b/helm-semantic.el @@ -37,11 +37,15 @@ :group 'helm-semantic :type 'boolean) -(defcustom helm-semantic-display-style '((python-mode . semantic-format-tag-summarize) - (c-mode . semantic-format-tag-name-c-mode) - (emacs-lisp-mode . semantic-format-tag-abbreviate-emacs-lisp-mode)) +(defcustom helm-semantic-display-style + '((python-mode . semantic-format-tag-summarize) + (c-mode . semantic-format-tag-name-c-mode) + (emacs-lisp-mode . semantic-format-tag-abbreviate-emacs-lisp-mode)) "Function to present a semantic tag according to `major-mode'. +It is an alist where the `car' of each element is a `major-mode' and +the `cdr' a `semantic-format-tag-*' function. + If no function is found for current `major-mode', fall back to `semantic-format-tag-summarize' default function. |