diff options
| author | Juanma Barranquero <lekktu@gmail.com> | 2019-09-21 00:27:53 +0200 |
|---|---|---|
| committer | Juanma Barranquero <lekktu@gmail.com> | 2019-09-21 00:27:53 +0200 |
| commit | 11432322650830fe9ae365f4113733a79226056d (patch) | |
| tree | 8407cb164d05196ac5eaeaa82fc69917877a008e /lisp/cedet | |
| parent | 80b53a3b8dcc28d18ac9a7adacf377ebe6d23ffe (diff) | |
| download | emacs-11432322650830fe9ae365f4113733a79226056d.tar.gz | |
lisp/*.el: Fix typos and other trivial doc fixes
* lisp/allout-widgets.el (allout-widgets-auto-activation)
(allout-current-decorated-p):
* lisp/auth-source.el (auth-source-protocols):
* lisp/autorevert.el (auto-revert-set-timer):
* lisp/battery.el (battery-mode-line-limit):
* lisp/calc/calcalg3.el (math-map-binop):
* lisp/calendar/cal-dst.el (calendar-dst-find-startend):
* lisp/calendar/cal-mayan.el (calendar-mayan-long-count-to-absolute):
* lisp/calendar/calendar.el (calendar-date-echo-text)
(calendar-generate-month, calendar-string-spread)
(calendar-cursor-to-date, calendar-read, calendar-read-date)
(calendar-mark-visible-date, calendar-dayname-on-or-before):
* lisp/calendar/diary-lib.el (diary-ordinal-suffix):
* lisp/cedet/ede/autoconf-edit.el (autoconf-new-program)
(autoconf-find-last-macro, autoconf-parameter-strip):
* lisp/cedet/ede/config.el (ede-target-with-config-build):
* lisp/cedet/ede/linux.el (ede-linux--detect-architecture)
(ede-linux--get-architecture):
* lisp/cedet/semantic/complete.el (semantic-collector-calculate-cache)
(semantic-displayer-abstract, semantic-displayer-point-position):
* lisp/cedet/semantic/format.el (semantic-format-face-alist)
(semantic-format-tag-short-doc):
* lisp/cedet/semantic/fw.el (semantic-find-file-noselect):
* lisp/cedet/semantic/idle.el (semantic-idle-scheduler-work-idle-time)
(semantic-idle-breadcrumbs-display-function)
(semantic-idle-breadcrumbs-format-tag-list-function):
* lisp/cedet/semantic/lex.el (semantic-lex-map-types)
(define-lex, define-lex-block-type-analyzer):
* lisp/cedet/semantic/senator.el (senator-search-default-tag-filter):
* lisp/cedet/semantic/symref.el (semantic-symref-result)
(semantic-symref-hit-to-tag-via-db):
* lisp/cedet/semantic/symref.el (semantic-symref-tool-baseclass):
* lisp/cedet/semantic/tag.el (semantic-tag-new-variable)
(semantic-tag-new-include, semantic-tag-new-package)
(semantic-tag-set-faux, semantic-create-tag-proxy)
(semantic-tag-function-parent)
(semantic-tag-components-with-overlays):
* lisp/cedet/srecode/cpp.el (srecode-cpp-namespaces)
(srecode-semantic-handle-:c, srecode-semantic-apply-tag-to-dict):
* lisp/cedet/srecode/dictionary.el (srecode-create-dictionary)
(srecode-dictionary-add-entries, srecode-dictionary-lookup-name)
(srecode-create-dictionaries-from-tags):
* lisp/cmuscheme.el (scheme-compile-region):
* lisp/color.el (color-lab-to-lch):
* lisp/doc-view.el (doc-view-image-width)
(doc-view-set-up-single-converter):
* lisp/dynamic-setting.el (font-setting-change-default-font)
(dynamic-setting-handle-config-changed-event):
* lisp/elec-pair.el (electric-pair-text-pairs)
(electric-pair-skip-whitespace-function)
(electric-pair-string-bound-function):
* lisp/emacs-lisp/avl-tree.el (avl-tree--del-balance)
(avl-tree-member, avl-tree-mapcar, avl-tree-iter):
* lisp/emacs-lisp/bytecomp.el (byte-compile-generate-call-tree):
* lisp/emacs-lisp/checkdoc.el (checkdoc-autofix-flag)
(checkdoc-spellcheck-documentation-flag, checkdoc-ispell)
(checkdoc-ispell-current-buffer, checkdoc-ispell-interactive)
(checkdoc-ispell-message-interactive)
(checkdoc-ispell-message-text, checkdoc-ispell-start)
(checkdoc-ispell-continue, checkdoc-ispell-comments)
(checkdoc-ispell-defun):
* lisp/emacs-lisp/cl-generic.el (cl--generic-search-method):
* lisp/emacs-lisp/eieio-custom.el (eieio-read-customization-group):
* lisp/emacs-lisp/lisp.el (forward-sexp, up-list):
* lisp/emacs-lisp/package-x.el (package--archive-contents-from-file):
* lisp/emacs-lisp/package.el (package-desc)
(package--make-autoloads-and-stuff, package-hidden-regexps):
* lisp/emacs-lisp/tcover-ses.el (ses-exercise-startup):
* lisp/emacs-lisp/testcover.el (testcover-nohits)
(testcover-1value):
* lisp/epg.el (epg-receive-keys, epg-start-edit-key):
* lisp/erc/erc-backend.el (erc-server-processing-p)
(erc-split-line-length, erc-server-coding-system)
(erc-server-send, erc-message):
* lisp/erc/erc-button.el (erc-button-face, erc-button-alist)
(erc-browse-emacswiki):
* lisp/erc/erc-ezbounce.el (erc-ezbounce, erc-ezb-get-login):
* lisp/erc/erc-fill.el (erc-fill-variable-maximum-indentation):
* lisp/erc/erc-log.el (erc-current-logfile):
* lisp/erc/erc-match.el (erc-log-match-format)
(erc-text-matched-hook):
* lisp/erc/erc-netsplit.el (erc-netsplit, erc-netsplit-debug):
* lisp/erc/erc-networks.el (erc-server-alist)
(erc-networks-alist, erc-current-network):
* lisp/erc/erc-ring.el (erc-input-ring-index):
* lisp/erc/erc-speedbar.el (erc-speedbar)
(erc-speedbar-update-channel):
* lisp/erc/erc-stamp.el (erc-timestamp-only-if-changed-flag):
* lisp/erc/erc-track.el (erc-track-position-in-mode-line)
(erc-track-remove-from-mode-line, erc-modified-channels-update)
(erc-track-last-non-erc-buffer, erc-track-sort-by-importance)
(erc-track-get-active-buffer):
* lisp/erc/erc.el (erc-get-channel-user-list)
(erc-echo-notice-hook, erc-echo-notice-always-hook)
(erc-wash-quit-reason, erc-format-@nick):
* lisp/ffap.el (ffap-latex-mode):
* lisp/files.el (abort-if-file-too-large)
(dir-locals--get-sort-score, buffer-stale--default-function):
* lisp/filesets.el (filesets-tree-max-level, filesets-data)
(filesets-update-pre010505):
* lisp/gnus/gnus-agent.el (gnus-agent-flush-cache):
* lisp/gnus/gnus-art.el (gnus-article-encrypt-protocol)
(gnus-button-prefer-mid-or-mail):
* lisp/gnus/gnus-cus.el (gnus-group-parameters):
* lisp/gnus/gnus-demon.el (gnus-demon-handlers)
(gnus-demon-run-callback):
* lisp/gnus/gnus-dired.el (gnus-dired-print):
* lisp/gnus/gnus-icalendar.el (gnus-icalendar-event-from-buffer):
* lisp/gnus/gnus-range.el (gnus-range-normalize):
* lisp/gnus/gnus-spec.el (gnus-pad-form):
* lisp/gnus/gnus-srvr.el (gnus-server-agent, gnus-server-cloud)
(gnus-server-opened, gnus-server-closed, gnus-server-denied)
(gnus-server-offline):
* lisp/gnus/gnus-sum.el (gnus-refer-thread-use-nnir)
(gnus-refer-thread-limit-to-thread)
(gnus-summary-limit-include-thread, gnus-summary-refer-thread)
(gnus-summary-find-matching):
* lisp/gnus/gnus-util.el (gnus-rescale-image):
* lisp/gnus/gnus.el (gnus-summary-line-format, gnus-no-server):
* lisp/gnus/mail-source.el (mail-source-incoming-file-prefix):
* lisp/gnus/message.el (message-cite-reply-position)
(message-cite-style-outlook, message-cite-style-thunderbird)
(message-cite-style-gmail, message--send-mail-maybe-partially):
* lisp/gnus/mm-extern.el (mm-inline-external-body):
* lisp/gnus/mm-partial.el (mm-inline-partial):
* lisp/gnus/mml-sec.el (mml-secure-message-sign)
(mml-secure-message-sign-encrypt, mml-secure-message-encrypt):
* lisp/gnus/mml2015.el (mml2015-epg-key-image)
(mml2015-epg-key-image-to-string):
* lisp/gnus/nndiary.el (nndiary-reminders, nndiary-get-new-mail):
* lisp/gnus/nnheader.el (nnheader-directory-files-is-safe):
* lisp/gnus/nnir.el (nnir-search-history)
(nnir-imap-search-other, nnir-artlist-length)
(nnir-artlist-article, nnir-artitem-group, nnir-artitem-number)
(nnir-artitem-rsv, nnir-article-group, nnir-article-number)
(nnir-article-rsv, nnir-article-ids, nnir-categorize)
(nnir-retrieve-headers-override-function)
(nnir-imap-default-search-key, nnir-hyrex-additional-switches)
(gnus-group-make-nnir-group, nnir-run-namazu, nnir-read-parms)
(nnir-read-parm, nnir-read-server-parm, nnir-search-thread):
* lisp/gnus/nnmairix.el (nnmairix-default-group)
(nnmairix-propagate-marks):
* lisp/gnus/smime.el (smime-keys, smime-crl-check)
(smime-verify-buffer, smime-noverify-buffer):
* lisp/gnus/spam-report.el (spam-report-url-ping-mm-url):
* lisp/gnus/spam.el (spam-spamassassin-positive-spam-flag-header)
(spam-spamassassin-spam-status-header, spam-sa-learn-rebuild)
(spam-classifications, spam-check-stat, spam-spamassassin-score):
* lisp/help.el (describe-minor-mode-from-symbol):
* lisp/hippie-exp.el (hippie-expand-ignore-buffers):
* lisp/htmlfontify.el (hfy-optimizations, hfy-face-resolve-face)
(hfy-begin-span):
* lisp/ibuf-ext.el (ibuffer-update-saved-filters-format)
(ibuffer-saved-filters, ibuffer-old-saved-filters-warning)
(ibuffer-filtering-qualifiers, ibuffer-repair-saved-filters)
(eval, ibuffer-unary-operand, file-extension, directory):
* lisp/image-dired.el (image-dired-cmd-pngcrush-options):
* lisp/image-mode.el (image-toggle-display):
* lisp/international/ccl.el (ccl-compile-read-multibyte-character)
(ccl-compile-write-multibyte-character):
* lisp/international/kkc.el (kkc-save-init-file):
* lisp/international/latin1-disp.el (latin1-display):
* lisp/international/ogonek.el (ogonek-name-encoding-alist)
(ogonek-information, ogonek-lookup-encoding)
(ogonek-deprefixify-region):
* lisp/isearch.el (isearch-filter-predicate)
(isearch--momentary-message):
* lisp/jsonrpc.el (jsonrpc-connection-send)
(jsonrpc-process-connection, jsonrpc-shutdown)
(jsonrpc--async-request-1):
* lisp/language/tibet-util.el (tibetan-char-p):
* lisp/mail/feedmail.el (feedmail-queue-use-send-time-for-date)
(feedmail-last-chance-hook, feedmail-before-fcc-hook)
(feedmail-send-it-immediately-wrapper, feedmail-find-eoh):
* lisp/mail/hashcash.el (hashcash-generate-payment)
(hashcash-generate-payment-async, hashcash-insert-payment)
(hashcash-verify-payment):
* lisp/mail/rmail.el (rmail-movemail-variant-in-use)
(rmail-get-attr-value):
* lisp/mail/rmailmm.el (rmail-mime-prefer-html, rmail-mime):
* lisp/mail/rmailsum.el (rmail-summary-show-message):
* lisp/mail/supercite.el (sc-raw-mode-toggle):
* lisp/man.el (Man-start-calling):
* lisp/mh-e/mh-acros.el (mh-do-at-event-location)
(mh-iterate-on-messages-in-region, mh-iterate-on-range):
* lisp/mh-e/mh-alias.el (mh-alias-system-aliases)
(mh-alias-reload, mh-alias-ali)
(mh-alias-canonicalize-suggestion, mh-alias-add-alias-to-file)
(mh-alias-add-alias):
* lisp/mouse.el (mouse-save-then-kill):
* lisp/net/browse-url.el (browse-url-default-macosx-browser):
* lisp/net/eudc.el (eudc-set, eudc-variable-protocol-value)
(eudc-variable-server-value, eudc-update-variable)
(eudc-expand-inline):
* lisp/net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
* lisp/net/eudcb-ldap.el (eudc-ldap-get-field-list):
* lisp/net/pop3.el (pop3-list):
* lisp/net/soap-client.el (soap-namespace-put)
(soap-xs-parse-sequence, soap-parse-envelope):
* lisp/net/soap-inspect.el (soap-inspect-xs-complex-type):
* lisp/nxml/rng-xsd.el (rng-xsd-date-to-days):
* lisp/org/ob-C.el (org-babel-prep-session:C)
(org-babel-load-session:C):
* lisp/org/ob-J.el (org-babel-execute:J):
* lisp/org/ob-asymptote.el (org-babel-prep-session:asymptote):
* lisp/org/ob-awk.el (org-babel-execute:awk):
* lisp/org/ob-core.el (org-babel-process-file-name):
* lisp/org/ob-ebnf.el (org-babel-execute:ebnf):
* lisp/org/ob-forth.el (org-babel-execute:forth):
* lisp/org/ob-fortran.el (org-babel-execute:fortran)
(org-babel-prep-session:fortran, org-babel-load-session:fortran):
* lisp/org/ob-groovy.el (org-babel-execute:groovy):
* lisp/org/ob-io.el (org-babel-execute:io):
* lisp/org/ob-js.el (org-babel-execute:js):
* lisp/org/ob-lilypond.el (org-babel-default-header-args:lilypond)
(org-babel-lilypond-compile-post-tangle)
(org-babel-lilypond-display-pdf-post-tangle)
(org-babel-lilypond-tangle)
(org-babel-lilypond-execute-tangled-ly)
(org-babel-lilypond-compile-lilyfile)
(org-babel-lilypond-check-for-compile-error)
(org-babel-lilypond-process-compile-error)
(org-babel-lilypond-mark-error-line)
(org-babel-lilypond-parse-error-line)
(org-babel-lilypond-attempt-to-open-pdf)
(org-babel-lilypond-attempt-to-play-midi)
(org-babel-lilypond-switch-extension)
(org-babel-lilypond-set-header-args):
* lisp/org/ob-lua.el (org-babel-prep-session:lua):
* lisp/org/ob-picolisp.el (org-babel-execute:picolisp):
* lisp/org/ob-processing.el (org-babel-prep-session:processing):
* lisp/org/ob-python.el (org-babel-prep-session:python):
* lisp/org/ob-scheme.el (org-babel-scheme-capture-current-message)
(org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
* lisp/org/ob-shen.el (org-babel-execute:shen):
* lisp/org/org-agenda.el (org-agenda-entry-types)
(org-agenda-move-date-from-past-immediately-to-today)
(org-agenda-time-grid, org-agenda-sorting-strategy)
(org-agenda-filter-by-category, org-agenda-forward-block):
* lisp/org/org-colview.el (org-columns--overlay-text):
* lisp/org/org-faces.el (org-verbatim, org-cycle-level-faces):
* lisp/org/org-indent.el (org-indent-set-line-properties):
* lisp/org/org-macs.el (org-get-limited-outline-regexp):
* lisp/org/org-mobile.el (org-mobile-files):
* lisp/org/org.el (org-use-fast-todo-selection)
(org-extend-today-until, org-use-property-inheritance)
(org-refresh-effort-properties, org-open-at-point-global)
(org-track-ordered-property-with-tag, org-shiftright):
* lisp/org/ox-html.el (org-html-checkbox-type):
* lisp/org/ox-man.el (org-man-source-highlight)
(org-man-verse-block):
* lisp/org/ox-publish.el (org-publish-sitemap-default):
* lisp/outline.el (outline-head-from-level):
* lisp/progmodes/dcl-mode.el (dcl-back-to-indentation-1)
(dcl-calc-command-indent, dcl-indent-to):
* lisp/progmodes/flymake.el (flymake-make-diagnostic)
(flymake--overlays, flymake-diagnostic-functions)
(flymake-diagnostic-types-alist, flymake--backend-state)
(flymake-is-running, flymake--collect, flymake-mode):
* lisp/progmodes/gdb-mi.el (gdb-threads-list, gdb, gdb-non-stop)
(gdb-buffers, gdb-gud-context-call, gdb-jsonify-buffer):
* lisp/progmodes/grep.el (grep-error-screen-columns):
* lisp/progmodes/gud.el (gud-prev-expr):
* lisp/progmodes/ps-mode.el (ps-mode, ps-mode-target-column)
(ps-run-goto-error):
* lisp/progmodes/python.el (python-eldoc-get-doc)
(python-eldoc-function-timeout-permanent, python-eldoc-function):
* lisp/shadowfile.el (shadow-make-group):
* lisp/speedbar.el (speedbar-obj-do-check):
* lisp/textmodes/flyspell.el (flyspell-auto-correct-previous-hook):
* lisp/textmodes/reftex-cite.el (reftex-bib-or-thebib):
* lisp/textmodes/reftex-index.el (reftex-index-goto-entry)
(reftex-index-kill, reftex-index-undo):
* lisp/textmodes/reftex-parse.el (reftex-context-substring):
* lisp/textmodes/reftex.el (reftex-TeX-master-file):
* lisp/textmodes/rst.el (rst-next-hdr, rst-toc)
(rst-uncomment-region, rst-font-lock-extend-region-internal):
* lisp/thumbs.el (thumbs-mode):
* lisp/vc/ediff-util.el (ediff-restore-diff):
* lisp/vc/pcvs-defs.el (cvs-cvsroot, cvs-force-dir-tag):
* lisp/vc/vc-hg.el (vc-hg--ignore-patterns-valid-p):
* lisp/wid-edit.el (widget-field-value-set, string):
* lisp/x-dnd.el (x-dnd-version-from-flags)
(x-dnd-more-than-3-from-flags): Assorted docfixes.
Diffstat (limited to 'lisp/cedet')
| -rw-r--r-- | lisp/cedet/ede/autoconf-edit.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/ede/config.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/ede/linux.el | 8 | ||||
| -rw-r--r-- | lisp/cedet/semantic/complete.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/semantic/format.el | 4 | ||||
| -rw-r--r-- | lisp/cedet/semantic/fw.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/semantic/idle.el | 22 | ||||
| -rw-r--r-- | lisp/cedet/semantic/lex.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/semantic/senator.el | 2 | ||||
| -rw-r--r-- | lisp/cedet/semantic/symref.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/semantic/tag.el | 22 | ||||
| -rw-r--r-- | lisp/cedet/srecode/cpp.el | 6 | ||||
| -rw-r--r-- | lisp/cedet/srecode/dictionary.el | 18 |
13 files changed, 55 insertions, 55 deletions
diff --git a/lisp/cedet/ede/autoconf-edit.el b/lisp/cedet/ede/autoconf-edit.el index c243e9bf6df..8918b4eb621 100644 --- a/lisp/cedet/ede/autoconf-edit.el +++ b/lisp/cedet/ede/autoconf-edit.el @@ -35,7 +35,7 @@ ROOTDIR is the root directory of a given autoconf controlled project. PROGRAM is the program to be configured. TESTFILE is the file used with AC_INIT. -configure the initial configure script using `autoconf-new-automake-string'" +Configure the initial configure script using `autoconf-new-automake-string'." (interactive "DRoot Dir: \nsProgram: \nsTest File: ") (require 'ede/srecode) (if (bufferp rootdir) @@ -147,7 +147,7 @@ From the autoconf manual: (looking-at (concat "\\(A[CM]_" macro "\\|" macro "\\)")))) (defun autoconf-find-last-macro (macro &optional ignore-bol) - "Move to the last occurrence of MACRO in FILE, and return that point. + "Move to the last occurrence of MACRO, and return that point. The last macro is usually the one in which we would like to insert more items such as CHECK_HEADERS." (let ((op (point)) (atbol (if ignore-bol "" "^"))) @@ -160,7 +160,7 @@ items such as CHECK_HEADERS." nil))) (defun autoconf-parameter-strip (param) - "Strip the parameter PARAM of whitespace and miscellaneous characters." + "Strip the parameter PARAM of whitespace and miscellaneous characters." ;; force greedy match for \n. (when (string-match "\\`\n*\\s-*\\[?\\s-*" param) (setq param (substring param (match-end 0)))) diff --git a/lisp/cedet/ede/config.el b/lisp/cedet/ede/config.el index c8bf7f33bae..39d984ac356 100644 --- a/lisp/cedet/ede/config.el +++ b/lisp/cedet/ede/config.el @@ -300,7 +300,7 @@ This class brings in method overloads for building.") (defclass ede-target-with-config-build () () "Class to mix into a project with configuration for builds. -This class brings in method overloads for for building.") +This class brings in method overloads for building.") (cl-defmethod project-compile-project ((proj ede-project-with-config-build) &optional command) "Compile the entire current project PROJ. diff --git a/lisp/cedet/ede/linux.el b/lisp/cedet/ede/linux.el index 424a20dec4d..b5a6482bbdf 100644 --- a/lisp/cedet/ede/linux.el +++ b/lisp/cedet/ede/linux.el @@ -136,7 +136,7 @@ If DIR has not been used as a build directory, fall back to (defun ede-linux--detect-architecture (dir) "Try to auto-detect the architecture as configured in DIR. -DIR is Linux' build directory. If it cannot be auto-detected, +DIR is Linux' build directory. If it cannot be auto-detected, returns `project-linux-architecture-default'." (let ((archs-dir (expand-file-name "arch" dir)) (archs (ede-linux--get-archs dir)) @@ -157,9 +157,9 @@ returns `project-linux-architecture-default'." (defun ede-linux--get-architecture (dir bdir) "Try to auto-detect the architecture as configured in BDIR. -Uses `ede-linux--detect-architecture' for the auto-detection. If -the result is `ask', let the user choose from architectures found -in DIR." +Uses `ede-linux--detect-architecture' for the auto-detection. +If the result is `ask', let the user choose from architectures +found in DIR." (let ((arch (ede-linux--detect-architecture bdir))) (cl-case arch (ask diff --git a/lisp/cedet/semantic/complete.el b/lisp/cedet/semantic/complete.el index 8f89d1a51e2..14d2bd38ee8 100644 --- a/lisp/cedet/semantic/complete.el +++ b/lisp/cedet/semantic/complete.el @@ -1219,7 +1219,7 @@ Basics search only in the current buffer.") (cl-defmethod semantic-collector-calculate-cache ((obj semantic-collector-buffer-deep)) "Calculate the completion cache for OBJ. -Uses `semantic-flatten-tags-table'" +Uses `semantic-flatten-tags-table'." (oset obj cache ;; Must create it in SEMANTICDB find format. ;; ( ( DBTABLE TAG TAG ... ) ... ) @@ -1314,7 +1314,7 @@ Uses semanticdb for searching all tags in the current project." :documentation "List of tags this displayer is showing.") (last-prefix :type string :protection :protected - :documentation "Prefix associated with slot `table'") + :documentation "Prefix associated with slot `table'.") ) "Abstract displayer baseclass. Manages the display of some number of tags. @@ -1746,7 +1746,7 @@ Display mechanism using tooltip for a list of possible completions.") (defun semantic-displayer-point-position () "Return the location of POINT as positioned on the selected frame. -Return a cons cell (X . Y)" +Return a cons cell (X . Y)." (let* ((frame (selected-frame)) (toolbarleft (if (eq (cdr (assoc 'tool-bar-position default-frame-alist)) 'left) diff --git a/lisp/cedet/semantic/format.el b/lisp/cedet/semantic/format.el index b576ad5e210..00f684276b8 100644 --- a/lisp/cedet/semantic/format.el +++ b/lisp/cedet/semantic/format.el @@ -107,7 +107,7 @@ Override the value locally if a language supports other tag types. When adding new elements, try to use symbols also returned by the parser. The form of an entry in this list is of the form: ( SYMBOL . FACE ) -where SYMBOL is a tag type symbol used with semantic. FACE +where SYMBOL is a tag type symbol used with semantic, and FACE is a symbol representing a face. Faces used are generated in `font-lock' for consistency, and will not be used unless font lock is a feature.") @@ -407,7 +407,7 @@ Optional argument COLOR means highlight the prototype with font-lock colors." (concat file ": " proto)))) (define-overloadable-function semantic-format-tag-short-doc (tag &optional parent color) - "Display a short form of TAG's documentation. (Comments, or docstring.) + "Display a short form of TAG's documentation. (Comments, or docstring.) Optional argument PARENT is the parent type if TAG is a detail. Optional argument COLOR means highlight the prototype with font-lock colors.") diff --git a/lisp/cedet/semantic/fw.el b/lisp/cedet/semantic/fw.el index 0dd0a932188..216a47547dc 100644 --- a/lisp/cedet/semantic/fw.el +++ b/lisp/cedet/semantic/fw.el @@ -329,7 +329,7 @@ calling this one." (defun semantic-find-file-noselect (file &optional nowarn rawfile wildcards) "Call `find-file-noselect' with various features turned off. Use this when referencing a file that will be soon deleted. -FILE, NOWARN, RAWFILE, and WILDCARDS are passed into `find-file-noselect'" +FILE, NOWARN, RAWFILE, and WILDCARDS are passed into `find-file-noselect'." ;; Hack - ;; Check if we are in set-auto-mode, and if so, warn about this. (when (boundp 'keep-mode-if-same) diff --git a/lisp/cedet/semantic/idle.el b/lisp/cedet/semantic/idle.el index 09af66658fa..35ec930469f 100644 --- a/lisp/cedet/semantic/idle.el +++ b/lisp/cedet/semantic/idle.el @@ -91,8 +91,8 @@ run as soon as Emacs is idle." (defcustom semantic-idle-scheduler-work-idle-time 60 "Time in seconds of idle before scheduling big work. -This time should be long enough that once any big work is started, it is -unlikely the user would be ready to type again right away." +This time should be long enough that once any big work is started, +it is unlikely the user would be ready to type again right away." :group 'semantic :type 'number :set (lambda (sym val) @@ -1004,8 +1004,8 @@ completion. #'semantic-idle-breadcrumbs--display-in-header-line "Function to display the tag under point in idle time. This function should take a list of Semantic tags as its only -argument. The tags are sorted according to their nesting order, -starting with the outermost tag. The function should call +argument. The tags are sorted according to their nesting order, +starting with the outermost tag. The function should call `semantic-idle-breadcrumbs-format-tag-list-function' to convert the tag list into a string." :group 'semantic @@ -1020,13 +1020,13 @@ the tag list into a string." #'semantic-idle-breadcrumbs--format-linear "Function to format the list of tags containing point. This function should take a list of Semantic tags and an optional -maximum length of the produced string as its arguments. The -maximum length is a hint and can be ignored. When the maximum -length is omitted, an unconstrained string should be -produced. The tags are sorted according to their nesting order, -starting with the outermost tag. Single tags should be formatted -using `semantic-idle-breadcrumbs-format-tag-function' unless -special formatting is required." +maximum length of the produced string as its arguments. The +maximum length is a hint and can be ignored. When the maximum +length is omitted, an unconstrained string should be produced. +The tags are sorted according to their nesting order, starting +with the outermost tag. Single tags should be formatted using +`semantic-idle-breadcrumbs-format-tag-function' unless special +formatting is required." :group 'semantic :type '(choice (const :tag "Format tags as list, innermost last" diff --git a/lisp/cedet/semantic/lex.el b/lisp/cedet/semantic/lex.el index 50e09e2359c..5df92f53172 100644 --- a/lisp/cedet/semantic/lex.el +++ b/lisp/cedet/semantic/lex.el @@ -454,7 +454,7 @@ PROPSPECS must be a list of (TYPE PROPERTY VALUE)." (defsubst semantic-lex-map-types (fun &optional property) "Call function FUN on every lexical type. If optional PROPERTY is non-nil, call FUN only on every type symbol -which as a PROPERTY value. FUN receives a type symbol as argument." +which has a PROPERTY value. FUN receives a type symbol as argument." (semantic-lex-map-symbols fun semantic-lex-types-obarray property)) @@ -769,7 +769,7 @@ Note: The order in which analyzers are listed is important. If two analyzers can match the same text, it is important to order the analyzers so that the one you want to match first occurs first. For example, it is good to put a number analyzer in front of a symbol -analyzer which might mistake a number for as a symbol." +analyzer which might mistake a number for a symbol." `(defun ,name (start end &optional depth length) ,(concat doc "\nSee `semantic-lex' for more information.") ;; Make sure the state of block parsing starts over. @@ -1581,7 +1581,7 @@ DEFAULT is the default lexical token returned when no MATCHES." (defmacro define-lex-block-type-analyzer (name doc syntax matches) "Define a block type analyzer NAME with DOC string. -SYNTAX is the regexp that matches block delimiters, typically the +SYNTAX is the regexp that matches block delimiters, typically the open (`\\\\s(') and close (`\\\\s)') parenthesis syntax classes. MATCHES is a pair (OPEN-SPECS . CLOSE-SPECS) that defines blocks. diff --git a/lisp/cedet/semantic/senator.el b/lisp/cedet/semantic/senator.el index f76d3328888..714190133f0 100644 --- a/lisp/cedet/semantic/senator.el +++ b/lisp/cedet/semantic/senator.el @@ -198,7 +198,7 @@ Tags of those classes are excluded from search." (defun senator-search-default-tag-filter (tag) "Default function that filters searched tags. -Ignore tags of classes in `senator-search-ignore-tag-classes'" +Ignore tags of classes in `senator-search-ignore-tag-classes'." (not (memq (semantic-tag-class tag) senator-search-ignore-tag-classes))) diff --git a/lisp/cedet/semantic/symref.el b/lisp/cedet/semantic/symref.el index 00403d4d52c..85acd50712b 100644 --- a/lisp/cedet/semantic/symref.el +++ b/lisp/cedet/semantic/symref.el @@ -319,7 +319,7 @@ where different symbols are used. Subclasses should be named `semantic-symref-tool-NAME', where NAME is the name of the tool used in the configuration variable -`semantic-symref-tool'" +`semantic-symref-tool'." :abstract t) (cl-defmethod semantic-symref-get-result ((tool semantic-symref-tool-baseclass)) @@ -388,7 +388,7 @@ Each element is a cons cell of the form (LINE . FILENAME).") :type list :documentation "The list of tags with hits in them. -Use the `semantic-symref-hit-tags' method to get this list.") +Use the `semantic-symref-hit-tags' method to get this list.") ) "The results from a symbol reference search.") @@ -476,7 +476,7 @@ Return the Semantic tag associated with HIT. SEARCHTXT is the text that is being searched for. Used to narrow the in-buffer search. SEARCHTYPE is the type of search (such as 'symbol or 'tagname). -If there is no database, of if the searchtype is wrong, return nil." +If there is no database, or if the searchtype is wrong, return nil." ;; Allowed search types for this mechanism: ;; tagname, tagregexp, tagcompletions (if (not (memq searchtype '(tagname tagregexp tagcompletions))) diff --git a/lisp/cedet/semantic/tag.el b/lisp/cedet/semantic/tag.el index ec8a800ec41..16dda48dc62 100644 --- a/lisp/cedet/semantic/tag.el +++ b/lisp/cedet/semantic/tag.el @@ -471,8 +471,8 @@ ATTRIBUTES is a list of additional attributes belonging to this tag." NAME is the name of this variable. TYPE is a string or semantic tag representing the type of this variable. Optional DEFAULT-VALUE is a string representing the default value of this -variable. ATTRIBUTES is a list of additional attributes belonging to this -tag." +variable. +ATTRIBUTES is a list of additional attributes belonging to this tag." (apply 'semantic-tag name 'variable :type type :default-value default-value @@ -518,8 +518,8 @@ ATTRIBUTES is a list of additional attributes belonging to this tag." (defsubst semantic-tag-new-include (name system-flag &rest attributes) "Create a semantic tag of class `include'. NAME is the name of this include. -SYSTEM-FLAG represents that we were able to identify this include as belonging -to the system, as opposed to belonging to the local project. +SYSTEM-FLAG represents that we were able to identify this include as +belonging to the system, as opposed to belonging to the local project. ATTRIBUTES is a list of additional attributes belonging to this tag." (apply 'semantic-tag name 'include :system-flag system-flag @@ -528,8 +528,8 @@ ATTRIBUTES is a list of additional attributes belonging to this tag." (defsubst semantic-tag-new-package (name detail &rest attributes) "Create a semantic tag of class `package'. NAME is the name of this package. -DETAIL is extra information about this package, such as a location where -it can be found. +DETAIL is extra information about this package, such as a location +where it can be found. ATTRIBUTES is a list of additional attributes belonging to this tag." (apply 'semantic-tag name 'package :detail detail @@ -547,7 +547,7 @@ ATTRIBUTES is a list of additional attributes belonging to this tag." (defsubst semantic-tag-set-faux (tag) "Set TAG to be a new FAUX tag. FAUX tags represent constructs not found in the source code. -You can identify a faux tag with `semantic-tag-faux-p'" +You can identify a faux tag with `semantic-tag-faux-p'." (semantic--tag-put-property tag :faux-flag t)) (defsubst semantic-tag-set-name (tag name) @@ -565,9 +565,9 @@ You can identify a faux tag with `semantic-tag-faux-p'" ;; it. This prevents saving of massive amounts of proxy data. (defun semantic-create-tag-proxy (function data) "Create a tag proxy symbol. -FUNCTION will be used to resolve the proxy. It should take 3 +FUNCTION will be used to resolve the proxy. It should take two arguments, DATA and TAG. TAG is a proxy tag that needs -to be resolved, and DATA is the DATA passed into this function. +to be resolved, and DATA is the data passed into this function. DATA is data to help resolve the proxy. DATA can be an EIEIO object, such that FUNCTION is a method. FUNCTION should return a list of tags, preferably one tag." @@ -870,7 +870,7 @@ That is the value of the `:throws' attribute." "Return the parent of the function that TAG describes. That is the value of the `:parent' attribute. A function has a parent if it is a method of a class, and if the -function does not appear in body of its parent class." +function does not appear in the body of its parent class." (semantic-tag-named-parent tag)) (defsubst semantic-tag-function-destructor-p (tag) @@ -976,7 +976,7 @@ Perform the described task in `semantic-tag-components'." Children are any sub-tags which contain overlays. Default behavior is to get `semantic-tag-components' in addition -to the components of an anonymous types (if applicable.) +to the components of an anonymous type (if applicable.) Note for language authors: If a mode defines a language tag that has tags in it with overlays diff --git a/lisp/cedet/srecode/cpp.el b/lisp/cedet/srecode/cpp.el index 306c60f1b61..9d30b163ee4 100644 --- a/lisp/cedet/srecode/cpp.el +++ b/lisp/cedet/srecode/cpp.el @@ -43,7 +43,7 @@ "List expansion candidates for the :using-namespaces argument. A dictionary entry of the named PREFIX_NAMESPACE with the value NAMESPACE:: is created for each namespace unless the current -buffer contains a using NAMESPACE; statement " +buffer contains a using NAMESPACE; statement." :group 'srecode-cpp :type '(repeat string)) @@ -56,7 +56,7 @@ buffer contains a using NAMESPACE; statement " ;;;###autoload (defun srecode-semantic-handle-:c (dict) - "Add macros into the dictionary DICT based on the current c file. + "Add macros into the dictionary DICT based on the current C file. Adds the following: FILENAME_SYMBOL - filename converted into a C compat symbol. HEADER - Shown section if in a header file." @@ -110,7 +110,7 @@ PREFIX_NAMESPACE - for each NAMESPACE in `srecode-cpp-namespaces'." (define-mode-local-override srecode-semantic-apply-tag-to-dict c-mode (tag-wrapper dict) "Apply C and C++ specific features from TAG-WRAPPER into DICT. -Calls `srecode-semantic-apply-tag-to-dict-default' first. Adds +Calls `srecode-semantic-apply-tag-to-dict-default' first. Adds special behavior for tag of classes include, using and function. This function cannot be split into C and C++ specific variants, as diff --git a/lisp/cedet/srecode/dictionary.el b/lisp/cedet/srecode/dictionary.el index 1058024d457..a0205177caa 100644 --- a/lisp/cedet/srecode/dictionary.el +++ b/lisp/cedet/srecode/dictionary.el @@ -147,7 +147,7 @@ Makes sure that :value is compiled." ;; (defun srecode-create-dictionary (&optional buffer-or-parent) - "Create a dictionary for BUFFER. + "Create a dictionary for BUFFER-OR-PARENT. If BUFFER-OR-PARENT is not specified, assume a buffer, and use the current buffer. If BUFFER-OR-PARENT is another dictionary, then remember the @@ -326,8 +326,8 @@ inserted dictionaries." entries &optional state) "Add ENTRIES to DICT. -ENTRIES is a list of even length of dictionary entries to -add. ENTRIES looks like this: +ENTRIES is a list of even length of dictionary entries to add. +ENTRIES looks like this: (NAME_1 VALUE_1 NAME_2 VALUE_2 ...) @@ -340,7 +340,7 @@ and for values * Otherwise, a compound variable is created for VALUE_N. The optional argument STATE has to non-nil when compound values -are inserted. An error is signaled if ENTRIES contains compound +are inserted. An error is signaled if ENTRIES contains compound values but STATE is nil." (while entries (let ((name (nth 0 entries)) @@ -409,8 +409,8 @@ OTHERDICT." name &optional non-recursive) "Return information about DICT's value for NAME. DICT is a dictionary, and NAME is a string that is treated as the -name of an entry in the dictionary. If such an entry exists, its -value is returned. Otherwise, nil is returned. Normally, the +name of an entry in the dictionary. If such an entry exists, its +value is returned. Otherwise, nil is returned. Normally, the lookup is recursive in the sense that the parent of DICT is searched for NAME if it is not found in DICT. This recursive lookup can be disabled by the optional argument NON-RECURSIVE. @@ -552,7 +552,7 @@ inserted with a new editable field.") "Create a dictionary with entries according to TAGS. TAGS should be in the format produced by the template file -grammar. That is +grammar. That is TAGS = (ENTRY_1 ENTRY_2 ...) @@ -560,9 +560,9 @@ where ENTRY_N = (NAME ENTRY_N_1 ENTRY_N_2 ...) | TAG -where TAG is a semantic tag of class 'variable. The (NAME ... ) +where TAG is a semantic tag of class 'variable. The (NAME ... ) form creates a child dictionary which is stored under the name -NAME. The TAG form creates a value entry or section dictionary +NAME. The TAG form creates a value entry or section dictionary entry whose name is the name of the tag. STATE is the current compiler state." |
