-If `all', search all other buffers. If t, search buffers with the same
-major mode.
-See also `company-dabbrev-code-time-limit'."
+If `all', search all other buffers, except the ignored ones. If t, search
+buffers with the same major mode. If `code', search all buffers with major
+modes in `company-dabbrev-code-modes', or derived from one of them. See
+also `company-dabbrev-code-time-limit'."