From: Dmitry Gutov Date: Wed, 13 Mar 2013 02:14:14 +0000 (+0400) Subject: Remove leading asterisks from docstrings X-Git-Url: https://code.delx.au/gnu-emacs-elpa/commitdiff_plain/8b7d5ff1768dc573b9d2e64d1fc8a5973de163b9 Remove leading asterisks from docstrings They don't make variables customizable anymore. --- diff --git a/company-clang.el b/company-clang.el index 7cb85e3c6..7613e317a 100644 --- a/company-clang.el +++ b/company-clang.el @@ -30,19 +30,19 @@ (defcustom company-clang-executable (executable-find "clang") - "*Location of clang executable." + "Location of clang executable." :group 'company-clang :type 'file) (defcustom company-clang-auto-save t - "*Determines whether to save the buffer when retrieving completions. + "Determines whether to save the buffer when retrieving completions. clang can only complete correctly when the buffer has been saved." :group 'company-clang :type '(choice (const :tag "Off" nil) (const :tag "On" t))) (defcustom company-clang-arguments nil - "*Additional arguments to pass to clang when completing. + "Additional arguments to pass to clang when completing. Prefix files (-include ...) can be selected with `company-clang-set-prefix' or automatically through a custom `company-clang-prefix-guesser'." @@ -50,7 +50,7 @@ Prefix files (-include ...) can be selected with :type '(repeat (string :tag "Argument" nil))) (defcustom company-clang-prefix-guesser 'company-clang-guess-prefix - "*A function to determine the prefix file for the current buffer." + "A function to determine the prefix file for the current buffer." :group 'company-clang :type '(function :tag "Guesser function" nil)) diff --git a/company-dabbrev-code.el b/company-dabbrev-code.el index 5cedcc433..64f60c791 100644 --- a/company-dabbrev-code.el +++ b/company-dabbrev-code.el @@ -35,7 +35,7 @@ haskell-mode java-mode javascript-mode jde-mode js2-mode lisp-mode lua-mode objc-mode perl-mode php-mode python-mode ruby-mode scheme-mode shell-script-mode) - "*Modes that use `company-dabbrev-code'. + "Modes that use `company-dabbrev-code'. In all these modes `company-dabbrev-code' will complete only symbols, not text in comments or strings. In other modes `company-dabbrev-code' will pass control to other back-ends \(e.g. `company-dabbrev'\). @@ -45,7 +45,7 @@ Value t means complete in all modes." (const tag "All modes" t))) (defcustom company-dabbrev-code-other-buffers t - "*Determines whether `company-dabbrev-code' should search other buffers. + "Determines whether `company-dabbrev-code' should search other buffers. If `all', search all other buffers. If t, search buffers with the same major mode. See also `company-dabbrev-code-time-limit'." @@ -55,7 +55,7 @@ See also `company-dabbrev-code-time-limit'." (const :tag "All" all))) (defcustom company-dabbrev-code-time-limit .5 - "*Determines how long `company-dabbrev-code' should look for matches." + "Determines how long `company-dabbrev-code' should look for matches." :group 'company :type '(choice (const :tag "Off" nil) (number :tag "Seconds"))) diff --git a/company-dabbrev.el b/company-dabbrev.el index 03223cf66..5f43b8302 100644 --- a/company-dabbrev.el +++ b/company-dabbrev.el @@ -29,7 +29,7 @@ (eval-when-compile (require 'cl)) (defcustom company-dabbrev-other-buffers 'all - "*Determines whether `company-dabbrev' should search other buffers. + "Determines whether `company-dabbrev' should search other buffers. If `all', search all other buffers. If t, search buffers with the same major mode. See also `company-dabbrev-time-limit'." @@ -39,13 +39,13 @@ See also `company-dabbrev-time-limit'." (const :tag "All" all))) (defcustom company-dabbrev-time-limit .5 - "*Determines how many seconds `company-dabbrev' should look for matches." + "Determines how many seconds `company-dabbrev' should look for matches." :group 'company :type '(choice (const :tag "Off" nil) (number :tag "Seconds"))) (defcustom company-dabbrev-char-regexp "\\sw" - "*A regular expression matching the characters `company-dabbrev' looks for." + "A regular expression matching the characters `company-dabbrev' looks for." :group 'company :type 'regexp) diff --git a/company-eclim.el b/company-eclim.el index be08fa0e3..db486c180 100644 --- a/company-eclim.el +++ b/company-eclim.el @@ -39,12 +39,12 @@ (defcustom company-eclim-executable (or (executable-find "eclim") (company-eclim-executable-find)) - "*Location of eclim executable." + "Location of eclim executable." :group 'company :type 'file) (defcustom company-eclim-auto-save t - "*Determines whether to save the buffer when retrieving completions. + "Determines whether to save the buffer when retrieving completions. eclim can only complete correctly when the buffer has been saved." :group 'company :type '(choice (const :tag "Off" nil) diff --git a/company-elisp.el b/company-elisp.el index f3a1809f9..c45e8736d 100644 --- a/company-elisp.el +++ b/company-elisp.el @@ -30,7 +30,7 @@ (require 'help-mode) (defcustom company-elisp-detect-function-context t - "*If enabled, offer Lisp functions only in appropriate contexts. + "If enabled, offer Lisp functions only in appropriate contexts. Functions are offered for completion only after ' and \(." :group 'company :type '(choice (const :tag "Off" nil) diff --git a/company-etags.el b/company-etags.el index 6807f98cf..508aac86a 100644 --- a/company-etags.el +++ b/company-etags.el @@ -29,7 +29,7 @@ (require 'etags) (defcustom company-etags-use-main-table-list t - "*Always search `tags-table-list' if set. + "Always search `tags-table-list' if set. If this is disabled, `company-etags' will try to find the one table for each buffer automatically." :group 'company-mode diff --git a/company-gtags.el b/company-gtags.el index 62c97070b..59ad7c85e 100644 --- a/company-gtags.el +++ b/company-gtags.el @@ -30,7 +30,7 @@ (defcustom company-gtags-executable (executable-find "global") - "*Location of GNU global executable." + "Location of GNU global executable." :type 'string :group 'company) diff --git a/company-ispell.el b/company-ispell.el index 05266af82..8a73988fe 100644 --- a/company-ispell.el +++ b/company-ispell.el @@ -30,7 +30,7 @@ (eval-when-compile (require 'cl)) (defcustom company-ispell-dictionary nil - "*Dictionary to use for `company-ispell'. + "Dictionary to use for `company-ispell'. If nil, use `ispell-complete-word-dict'." :group 'company :type '(choice (const :tag "default (nil)" nil) diff --git a/company-keywords.el b/company-keywords.el index 88af112d1..20bd7b0a1 100644 --- a/company-keywords.el +++ b/company-keywords.el @@ -212,7 +212,7 @@ (espresso-mode . javascript-mode) (cperl-mode . perl-mode) (jde-mode . java-mode)) - "*Alist mapping major-modes to sorted keywords for `company-keywords'.") + "Alist mapping major-modes to sorted keywords for `company-keywords'.") ;;;###autoload (defun company-keywords (command &optional arg &rest ignored) diff --git a/company-semantic.el b/company-semantic.el index eacf1c729..1495059af 100644 --- a/company-semantic.el +++ b/company-semantic.el @@ -31,7 +31,7 @@ (eval-when-compile (require 'cl)) (defcustom company-semantic-metadata-function 'company-semantic-summary-and-doc - "*The function turning a semantic tag into doc information." + "The function turning a semantic tag into doc information." :group 'company :type 'function) diff --git a/company-template.el b/company-template.el index 53d968757..69eac7c52 100644 --- a/company-template.el +++ b/company-template.el @@ -26,7 +26,7 @@ (defface company-template-field '((((background dark)) (:background "yellow" :foreground "black")) (((background light)) (:background "orange" :foreground "black"))) - "*Face used for editable text in template fields." + "Face used for editable text in template fields." :group 'company) (defvar company-template-nav-map diff --git a/company-xcode.el b/company-xcode.el index 42e00de79..b558fe806 100644 --- a/company-xcode.el +++ b/company-xcode.el @@ -29,7 +29,7 @@ (eval-when-compile (require 'cl)) (defcustom company-xcode-xcodeindex-executable (executable-find "xcodeindex") - "*Location of xcodeindex executable." + "Location of xcodeindex executable." :group 'company-xcode :type 'file) @@ -43,7 +43,7 @@ (defcustom company-xcode-types '("Class" "Constant" "Enum" "Macro" "Modeled Class" "Structure" "Type" "Union" "Function") - "*The types of symbols offered by `company-xcode'. + "The types of symbols offered by `company-xcode'. No context-enabled completion is available. Types like methods will be offered regardless of whether the class supports them. The defaults should be valid in most contexts." diff --git a/company.el b/company.el index 142ecab07..b3606edab 100644 --- a/company.el +++ b/company.el @@ -158,59 +158,59 @@ (defface company-tooltip '((t :background "yellow" :foreground "black")) - "*Face used for the tool tip." + "Face used for the tool tip." :group 'company) (defface company-tooltip-selection '((default :inherit company-tooltip) (((class color) (min-colors 88)) (:background "orange1")) (t (:background "green"))) - "*Face used for the selection in the tool tip." + "Face used for the selection in the tool tip." :group 'company) (defface company-tooltip-mouse '((default :inherit highlight)) - "*Face used for the tool tip item under the mouse." + "Face used for the tool tip item under the mouse." :group 'company) (defface company-tooltip-common '((t :inherit company-tooltip :foreground "red")) - "*Face used for the common completion in the tool tip." + "Face used for the common completion in the tool tip." :group 'company) (defface company-tooltip-common-selection '((t :inherit company-tooltip-selection :foreground "red")) - "*Face used for the selected common completion in the tool tip." + "Face used for the selected common completion in the tool tip." :group 'company) (defface company-preview '((t :background "blue4" :foreground "wheat")) - "*Face used for the completion preview." + "Face used for the completion preview." :group 'company) (defface company-preview-common '((t :inherit company-preview :foreground "red")) - "*Face used for the common part of the completion preview." + "Face used for the common part of the completion preview." :group 'company) (defface company-preview-search '((t :inherit company-preview :background "blue1")) - "*Face used for the search string in the completion preview." + "Face used for the search string in the completion preview." :group 'company) (defface company-echo nil - "*Face used for completions in the echo area." + "Face used for completions in the echo area." :group 'company) (defface company-echo-common '((((background dark)) (:foreground "firebrick1")) (((background light)) (:background "firebrick4"))) - "*Face used for the common part of completions in the echo area." + "Face used for the common part of completions in the echo area." :group 'company) (defun company-frontends-set (variable value) @@ -235,7 +235,7 @@ (defcustom company-frontends '(company-pseudo-tooltip-unless-just-one-frontend company-preview-if-just-one-frontend company-echo-metadata-frontend) - "*The list of active front-ends (visualizations). + "The list of active front-ends (visualizations). Each front-end is a function that takes one argument. It is called with one of the following arguments: @@ -271,12 +271,12 @@ The visualized data is stored in `company-prefix', `company-candidates', (function :tag "custom function" nil)))) (defcustom company-tooltip-limit 10 - "*The maximum number of candidates in the tool tip" + "The maximum number of candidates in the tool tip" :group 'company :type 'integer) (defcustom company-tooltip-minimum 6 - "*The minimum height of the tool tip. + "The minimum height of the tool tip. If this many lines are not available, prefer to display the tooltip above." :group 'company :type 'integer) @@ -339,7 +339,7 @@ If this many lines are not available, prefer to display the tooltip above." (company-gtags company-etags company-dabbrev-code company-pysmell company-keywords) company-oddmuse company-files company-dabbrev) - "*The list of active back-ends (completion engines). + "The list of active back-ends (completion engines). Each list elements can itself be a list of back-ends. In that case their completions are merged. Otherwise only the first matching back-end returns results. @@ -410,32 +410,32 @@ does not know about. It should also be callable interactively and use (put 'company-backends 'safe-local-variable 'company-safe-backends-p) (defcustom company-completion-started-hook nil - "*Hook run when company starts completing. + "Hook run when company starts completing. The hook is called with one argument that is non-nil if the completion was started manually." :group 'company :type 'hook) (defcustom company-completion-cancelled-hook nil - "*Hook run when company cancels completing. + "Hook run when company cancels completing. The hook is called with one argument that is non-nil if the completion was aborted manually." :group 'company :type 'hook) (defcustom company-completion-finished-hook nil - "*Hook run when company successfully completes. + "Hook run when company successfully completes. The hook is called with the selected candidate as an argument." :group 'company :type 'hook) (defcustom company-minimum-prefix-length 3 - "*The minimum prefix length for automatic completion." + "The minimum prefix length for automatic completion." :group 'company :type '(integer :tag "prefix length")) (defcustom company-require-match 'company-explicit-action-p - "*If enabled, disallow non-matching input. + "If enabled, disallow non-matching input. This can be a function do determine if a match is required. This can be overridden by the back-end, if it returns t or 'never to @@ -488,7 +488,7 @@ A character that is part of a valid candidate never starts auto-completion." (function :tag "Predicate function"))) (defcustom company-idle-delay .7 - "*The idle delay in seconds until automatic completions starts. + "The idle delay in seconds until automatic completions starts. A value of nil means never complete automatically, t means complete immediately when a prefix of `company-minimum-prefix-length' is reached." :group 'company @@ -497,7 +497,7 @@ immediately when a prefix of `company-minimum-prefix-length' is reached." (number :tag "seconds"))) (defcustom company-begin-commands t - "*A list of commands following which company will start completing. + "A list of commands following which company will start completing. If this is t, it will complete after any command. See `company-idle-delay'. Alternatively any command with a non-nil 'company-begin property is treated as @@ -508,13 +508,13 @@ if it was on this list." (repeat :tag "Commands" function))) (defcustom company-show-numbers nil - "*If enabled, show quick-access numbers for the first ten candidates." + "If enabled, show quick-access numbers for the first ten candidates." :group 'company :type '(choice (const :tag "off" nil) (const :tag "on" t))) (defvar company-end-of-buffer-workaround t - "*Work around a visualization bug when completing at the end of the buffer. + "Work around a visualization bug when completing at the end of the buffer. The work-around consists of adding a newline.") ;;; mode ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -578,7 +578,7 @@ The work-around consists of adding a newline.") ;;;###autoload (define-minor-mode company-mode - "\"complete anything\"; in in-buffer completion framework. + "\"complete anything\"; is an in-buffer completion framework. Completion starts automatically, depending on the values `company-idle-delay' and `company-minimum-prefix-length'.