diff options
| author | Juanma Barranquero | 2019-10-20 12:12:27 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2019-10-20 12:12:27 +0200 |
| commit | 41ba8231ef072571e1a6feabc15d113e5cf57556 (patch) | |
| tree | ebfb9888ed6f62295fac4a0c7858f6881ffda491 /lisp/org | |
| parent | e2acf4d29d6f03c7b8c6fbeb61ed1f4a6ef5b1fd (diff) | |
| download | emacs-41ba8231ef072571e1a6feabc15d113e5cf57556.tar.gz emacs-41ba8231ef072571e1a6feabc15d113e5cf57556.zip | |
lisp/*.el: Fix typos and improve some docstrings
* lisp/auth-source.el (auth-source-backend-parse-parameters)
(auth-source-search-collection)
(auth-source-secrets-listify-pattern)
(auth-source--decode-octal-string, auth-source-plstore-search):
* lisp/registry.el (registry-lookup)
(registry-lookup-breaks-before-lexbind)
(registry-lookup-secondary, registry-lookup-secondary-value)
(registry-search, registry-delete, registry-size, registry-full)
(registry-insert, registry-reindex, registry-prune)
(registry-collect-prune-candidates):
* lisp/subr.el (nbutlast, process-live-p):
* lisp/tab-bar.el (tab-bar-list):
* lisp/cedet/ede/linux.el (ede-linux--get-archs)
(ede-linux--include-path, ede-linux-load):
* lisp/erc/erc-log.el (erc-log-all-but-server-buffers):
* lisp/erc/erc-pcomplete.el (pcomplete-erc-commands)
(pcomplete-erc-ops, pcomplete-erc-not-ops, pcomplete-erc-nicks)
(pcomplete-erc-all-nicks, pcomplete-erc-channels)
(pcomplete-erc-command-name, pcomplete-erc-parse-arguments):
* lisp/eshell/em-term.el (eshell-visual-command-p):
* lisp/gnus/gnus-cache.el (gnus-cache-fully-p):
* lisp/gnus/nnmail.el (nnmail-get-active)
(nnmail-fancy-expiry-target):
* lisp/mail/mail-utils.el (mail-string-delete):
* lisp/mail/supercite.el (sc-hdr, sc-valid-index-p):
* lisp/net/ange-ftp.el (ange-ftp-use-smart-gateway-p):
* lisp/net/nsm.el (nsm-save-fingerprint-maybe)
(nsm-network-same-subnet, nsm-should-check):
* lisp/net/rcirc.el (rcirc-looking-at-input):
* lisp/net/tramp-cache.el (tramp-get-hash-table):
* lisp/net/tramp-compat.el (tramp-compat-process-running-p):
* lisp/net/tramp-smb.el (tramp-smb-get-share)
(tramp-smb-get-localname, tramp-smb-read-file-entry)
(tramp-smb-get-cifs-capabilities, tramp-smb-get-stat-capability):
* lisp/net/zeroconf.el (zeroconf-list-service-names)
(zeroconf-list-service-types, zeroconf-list-services)
(zeroconf-get-host, zeroconf-get-domain)
(zeroconf-get-host-domain):
* lisp/nxml/rng-xsd.el (rng-xsd-compile)
(rng-xsd-make-date-time-regexp, rng-xsd-convert-date-time):
* lisp/obsolete/erc-hecomplete.el (erc-hecomplete)
(erc-command-list, erc-complete-at-prompt):
* lisp/org/ob-scheme.el (org-babel-scheme-get-buffer-impl):
* lisp/org/ob-shell.el (org-babel--variable-assignments:sh-generic)
(org-babel--variable-assignments:bash_array)
(org-babel--variable-assignments:bash_assoc)
(org-babel--variable-assignments:bash):
* lisp/org/org-clock.el (org-day-of-week):
* lisp/progmodes/cperl-mode.el (cperl-char-ends-sub-keyword-p):
* lisp/progmodes/gud.el (gud-find-c-expr, gud-innermost-expr)
(gud-prev-expr, gud-next-expr):
* lisp/textmodes/table.el (table--at-cell-p, table--probe-cell)
(table--get-cell-justify-property)
(table--get-cell-valign-property)
(table--put-cell-justify-property)
(table--put-cell-valign-property): Fix typos.
* lisp/so-long.el (fboundp): Doc fix.
(so-long-mode-line-info, so-long-mode)
(so-long--check-header-modes): Fix typos.
* lisp/emulation/viper-mous.el (viper-surrounding-word)
(viper-mouse-click-get-word): Fix typos.
(viper-mouse-click-search-word): Doc fix.
* lisp/erc/erc-backend.el (erc-forward-word, erc-word-at-arg-p)
(erc-bounds-of-word-at-point): Fix typos.
(erc-decode-string-from-target, define-erc-response-handler):
Refill docstring.
* lisp/erc/erc-dcc.el (pcomplete/erc-mode/DCC): Fix typo.
(erc-dcc-get-host, erc-dcc-auto-mask-p, erc-dcc-get-file):
Doc fixes.
* lisp/erc/erc-networks.el (erc-network-name): Fix typo.
(erc-determine-network): Refill docstring.
* lisp/net/dbus.el (dbus-list-hash-table)
(dbus-string-to-byte-array, dbus-byte-array-to-string)
(dbus-check-event): Fix typos.
(dbus-introspect-get-property): Doc fix.
* lisp/net/tramp-adb.el (tramp-adb-file-name-handler):
Rename ARGS to ARGUMENTS. Doc fix.
(tramp-adb-sh-fix-ls-output, tramp-adb-execute-adb-command)
(tramp-adb-find-test-command): Fix typos.
* lisp/net/tramp.el (tramp-set-completion-function)
(tramp-get-completion-function)
(tramp-completion-dissect-file-name)
(tramp-completion-dissect-file-name1)
(tramp-get-completion-methods, tramp-get-completion-user-host)
(tramp-get-inode, tramp-get-device, tramp-mode-string-to-int)
(tramp-call-process, tramp-call-process-region)
(tramp-process-lines): Fix typos.
(tramp-interrupt-process): Doc fix.
* lisp/org/ob-core.el (org-babel-named-src-block-regexp-for-name)
(org-babel-named-data-regexp-for-name): Doc fix.
(org-babel-src-block-names, org-babel-result-names): Fix typos.
* lisp/progmodes/inf-lisp.el (lisp-input-filter): Doc fix.
(lisp-fn-called-at-pt): Fix typo.
* lisp/progmodes/xref.el (xref-backend-identifier-at-point):
Doc fix.
(xref-backend-identifier-completion-table): Fix typo.
Diffstat (limited to 'lisp/org')
| -rw-r--r-- | lisp/org/ChangeLog.1 | 6 | ||||
| -rw-r--r-- | lisp/org/ob-core.el | 8 | ||||
| -rw-r--r-- | lisp/org/ob-scheme.el | 2 | ||||
| -rw-r--r-- | lisp/org/ob-shell.el | 8 | ||||
| -rw-r--r-- | lisp/org/org-clock.el | 2 | ||||
| -rw-r--r-- | lisp/org/ox.el | 2 |
6 files changed, 14 insertions, 14 deletions
diff --git a/lisp/org/ChangeLog.1 b/lisp/org/ChangeLog.1 index 2bb15863e7f..8f7334a330a 100644 --- a/lisp/org/ChangeLog.1 +++ b/lisp/org/ChangeLog.1 | |||
| @@ -11557,7 +11557,7 @@ | |||
| 11557 | 2012-04-01 Jambunathan K <kjambunathan@gmail.com> | 11557 | 2012-04-01 Jambunathan K <kjambunathan@gmail.com> |
| 11558 | 11558 | ||
| 11559 | * org-footnote.el (org-footnote-normalize): Force a paragraph | 11559 | * org-footnote.el (org-footnote-normalize): Force a paragraph |
| 11560 | break after the last footnote definition. This is an an implicit | 11560 | break after the last footnote definition. This is an implicit |
| 11561 | assumption made by the org-lparse.el library. With this change, | 11561 | assumption made by the org-lparse.el library. With this change, |
| 11562 | footnote definitions can reliably be exported with ODT backend. | 11562 | footnote definitions can reliably be exported with ODT backend. |
| 11563 | See https://lists.gnu.org/r/emacs-orgmode/2012-02/msg01013.html. | 11563 | See https://lists.gnu.org/r/emacs-orgmode/2012-02/msg01013.html. |
| @@ -11912,7 +11912,7 @@ | |||
| 11912 | 11912 | ||
| 11913 | * org-footnote.el (org-footnote-normalize): Ensure footnote | 11913 | * org-footnote.el (org-footnote-normalize): Ensure footnote |
| 11914 | definition will be inserted at the end of the section | 11914 | definition will be inserted at the end of the section |
| 11915 | corresponding to to its first reference. | 11915 | corresponding to its first reference. |
| 11916 | 11916 | ||
| 11917 | 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com> | 11917 | 2012-04-01 Nicolas Goaziou <n.goaziou@gmail.com> |
| 11918 | 11918 | ||
| @@ -17453,7 +17453,7 @@ | |||
| 17453 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> | 17453 | 2011-07-28 Nicolas Goaziou <n.goaziou@gmail.com> |
| 17454 | 17454 | ||
| 17455 | * org-list.el (org-list-struct, org-in-item-p): Don't assume end of | 17455 | * org-list.el (org-list-struct, org-in-item-p): Don't assume end of |
| 17456 | blocks or drawers necessarily start somewhere. It it isn't the | 17456 | blocks or drawers necessarily start somewhere. If it isn't the |
| 17457 | case, treat them as normal text. | 17457 | case, treat them as normal text. |
| 17458 | 17458 | ||
| 17459 | 2011-07-28 Eric Schulte <schulte.eric@gmail.com> | 17459 | 2011-07-28 Eric Schulte <schulte.eric@gmail.com> |
diff --git a/lisp/org/ob-core.el b/lisp/org/ob-core.el index 8e9e3edb1c8..9e78876787a 100644 --- a/lisp/org/ob-core.el +++ b/lisp/org/ob-core.el | |||
| @@ -532,7 +532,7 @@ to raise errors for all languages.") | |||
| 532 | "Hook for functions to be called after `org-babel-execute-src-block'") | 532 | "Hook for functions to be called after `org-babel-execute-src-block'") |
| 533 | 533 | ||
| 534 | (defun org-babel-named-src-block-regexp-for-name (&optional name) | 534 | (defun org-babel-named-src-block-regexp-for-name (&optional name) |
| 535 | "This generates a regexp used to match a src block named NAME. | 535 | "Generate a regexp used to match a src block named NAME. |
| 536 | If NAME is nil, match any name. Matched name is then put in | 536 | If NAME is nil, match any name. Matched name is then put in |
| 537 | match group 9. Other match groups are defined in | 537 | match group 9. Other match groups are defined in |
| 538 | `org-babel-src-block-regexp'." | 538 | `org-babel-src-block-regexp'." |
| @@ -543,7 +543,7 @@ match group 9. Other match groups are defined in | |||
| 543 | (substring org-babel-src-block-regexp 1))) | 543 | (substring org-babel-src-block-regexp 1))) |
| 544 | 544 | ||
| 545 | (defun org-babel-named-data-regexp-for-name (name) | 545 | (defun org-babel-named-data-regexp-for-name (name) |
| 546 | "This generates a regexp used to match data named NAME." | 546 | "Generate a regexp used to match data named NAME." |
| 547 | (concat org-babel-name-regexp (regexp-quote name) "[ \t]*$")) | 547 | (concat org-babel-name-regexp (regexp-quote name) "[ \t]*$")) |
| 548 | 548 | ||
| 549 | (defun org-babel--normalize-body (datum) | 549 | (defun org-babel--normalize-body (datum) |
| @@ -1774,7 +1774,7 @@ to `org-babel-named-src-block-regexp'." | |||
| 1774 | (ignore-errors (org-next-block 1 nil regexp)))))) | 1774 | (ignore-errors (org-next-block 1 nil regexp)))))) |
| 1775 | 1775 | ||
| 1776 | (defun org-babel-src-block-names (&optional file) | 1776 | (defun org-babel-src-block-names (&optional file) |
| 1777 | "Returns the names of source blocks in FILE or the current buffer." | 1777 | "Return the names of source blocks in FILE or the current buffer." |
| 1778 | (with-current-buffer (if file (find-file-noselect file) (current-buffer)) | 1778 | (with-current-buffer (if file (find-file-noselect file) (current-buffer)) |
| 1779 | (org-with-point-at 1 | 1779 | (org-with-point-at 1 |
| 1780 | (let ((regexp "^[ \t]*#\\+begin_src ") | 1780 | (let ((regexp "^[ \t]*#\\+begin_src ") |
| @@ -1819,7 +1819,7 @@ buffer or nil if no such result exists." | |||
| 1819 | (throw :found (line-beginning-position))))))))) | 1819 | (throw :found (line-beginning-position))))))))) |
| 1820 | 1820 | ||
| 1821 | (defun org-babel-result-names (&optional file) | 1821 | (defun org-babel-result-names (&optional file) |
| 1822 | "Returns the names of results in FILE or the current buffer." | 1822 | "Return the names of results in FILE or the current buffer." |
| 1823 | (save-excursion | 1823 | (save-excursion |
| 1824 | (when file (find-file file)) (goto-char (point-min)) | 1824 | (when file (find-file file)) (goto-char (point-min)) |
| 1825 | (let ((case-fold-search t) names) | 1825 | (let ((case-fold-search t) names) |
diff --git a/lisp/org/ob-scheme.el b/lisp/org/ob-scheme.el index af5c7f26d6f..635b3aa6003 100644 --- a/lisp/org/ob-scheme.el +++ b/lisp/org/ob-scheme.el | |||
| @@ -102,7 +102,7 @@ | |||
| 102 | (puthash session-name buffer org-babel-scheme-repl-map)) | 102 | (puthash session-name buffer org-babel-scheme-repl-map)) |
| 103 | 103 | ||
| 104 | (defun org-babel-scheme-get-buffer-impl (buffer) | 104 | (defun org-babel-scheme-get-buffer-impl (buffer) |
| 105 | "Returns the scheme implementation geiser associates with the buffer." | 105 | "Return the scheme implementation geiser associates with the buffer." |
| 106 | (with-current-buffer (set-buffer buffer) | 106 | (with-current-buffer (set-buffer buffer) |
| 107 | geiser-impl--implementation)) | 107 | geiser-impl--implementation)) |
| 108 | 108 | ||
diff --git a/lisp/org/ob-shell.el b/lisp/org/ob-shell.el index 8e080c6977f..548edce5793 100644 --- a/lisp/org/ob-shell.el +++ b/lisp/org/ob-shell.el | |||
| @@ -111,12 +111,12 @@ This function is called by `org-babel-execute-src-block'." | |||
| 111 | ;;; Helper functions | 111 | ;;; Helper functions |
| 112 | (defun org-babel--variable-assignments:sh-generic | 112 | (defun org-babel--variable-assignments:sh-generic |
| 113 | (varname values &optional sep hline) | 113 | (varname values &optional sep hline) |
| 114 | "Returns a list of statements declaring the values as a generic variable." | 114 | "Return a list of statements declaring the values as a generic variable." |
| 115 | (format "%s=%s" varname (org-babel-sh-var-to-sh values sep hline))) | 115 | (format "%s=%s" varname (org-babel-sh-var-to-sh values sep hline))) |
| 116 | 116 | ||
| 117 | (defun org-babel--variable-assignments:bash_array | 117 | (defun org-babel--variable-assignments:bash_array |
| 118 | (varname values &optional sep hline) | 118 | (varname values &optional sep hline) |
| 119 | "Returns a list of statements declaring the values as a bash array." | 119 | "Return a list of statements declaring the values as a bash array." |
| 120 | (format "unset %s\ndeclare -a %s=( %s )" | 120 | (format "unset %s\ndeclare -a %s=( %s )" |
| 121 | varname varname | 121 | varname varname |
| 122 | (mapconcat | 122 | (mapconcat |
| @@ -126,7 +126,7 @@ This function is called by `org-babel-execute-src-block'." | |||
| 126 | 126 | ||
| 127 | (defun org-babel--variable-assignments:bash_assoc | 127 | (defun org-babel--variable-assignments:bash_assoc |
| 128 | (varname values &optional sep hline) | 128 | (varname values &optional sep hline) |
| 129 | "Returns a list of statements declaring the values as bash associative array." | 129 | "Return a list of statements declaring the values as bash associative array." |
| 130 | (format "unset %s\ndeclare -A %s\n%s" | 130 | (format "unset %s\ndeclare -A %s\n%s" |
| 131 | varname varname | 131 | varname varname |
| 132 | (mapconcat | 132 | (mapconcat |
| @@ -139,7 +139,7 @@ This function is called by `org-babel-execute-src-block'." | |||
| 139 | "\n"))) | 139 | "\n"))) |
| 140 | 140 | ||
| 141 | (defun org-babel--variable-assignments:bash (varname values &optional sep hline) | 141 | (defun org-babel--variable-assignments:bash (varname values &optional sep hline) |
| 142 | "Represents the parameters as useful Bash shell variables." | 142 | "Represent the parameters as useful Bash shell variables." |
| 143 | (pcase values | 143 | (pcase values |
| 144 | (`((,_ ,_ . ,_) . ,_) ;two-dimensional array | 144 | (`((,_ ,_ . ,_) . ,_) ;two-dimensional array |
| 145 | (org-babel--variable-assignments:bash_assoc varname values sep hline)) | 145 | (org-babel--variable-assignments:bash_assoc varname values sep hline)) |
diff --git a/lisp/org/org-clock.el b/lisp/org/org-clock.el index 4667890b421..9046661b266 100644 --- a/lisp/org/org-clock.el +++ b/lisp/org/org-clock.el | |||
| @@ -2055,7 +2055,7 @@ in the buffer and update it." | |||
| 2055 | (org-update-dblock)) | 2055 | (org-update-dblock)) |
| 2056 | 2056 | ||
| 2057 | (defun org-day-of-week (day month year) | 2057 | (defun org-day-of-week (day month year) |
| 2058 | "Returns the day of the week as an integer." | 2058 | "Return the day of the week as an integer." |
| 2059 | (nth 6 | 2059 | (nth 6 |
| 2060 | (decode-time | 2060 | (decode-time |
| 2061 | (date-to-time | 2061 | (date-to-time |
diff --git a/lisp/org/ox.el b/lisp/org/ox.el index aa04676db8d..0ae1e45f036 100644 --- a/lisp/org/ox.el +++ b/lisp/org/ox.el | |||
| @@ -4711,7 +4711,7 @@ code." | |||
| 4711 | 4711 | ||
| 4712 | ;;;; For Tables | 4712 | ;;;; For Tables |
| 4713 | ;; | 4713 | ;; |
| 4714 | ;; `org-export-table-has-special-column-p' and and | 4714 | ;; `org-export-table-has-special-column-p' and |
| 4715 | ;; `org-export-table-row-is-special-p' are predicates used to look for | 4715 | ;; `org-export-table-row-is-special-p' are predicates used to look for |
| 4716 | ;; meta-information about the table structure. | 4716 | ;; meta-information about the table structure. |
| 4717 | ;; | 4717 | ;; |