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/progmodes | |
| 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/progmodes')
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/gud.el | 8 | ||||
| -rw-r--r-- | lisp/progmodes/inf-lisp.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/xref.el | 6 |
4 files changed, 10 insertions, 10 deletions
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 5d4cf96d4c4..e9be1990ddc 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -1324,7 +1324,7 @@ the last)." | |||
| 1324 | (defvar cperl-sub-regexp (regexp-opt cperl-sub-keywords)) | 1324 | (defvar cperl-sub-regexp (regexp-opt cperl-sub-keywords)) |
| 1325 | 1325 | ||
| 1326 | (defun cperl-char-ends-sub-keyword-p (char) | 1326 | (defun cperl-char-ends-sub-keyword-p (char) |
| 1327 | "Return T if CHAR is the last character of a perl sub keyword." | 1327 | "Return t if CHAR is the last character of a perl sub keyword." |
| 1328 | (cl-loop for keyword in cperl-sub-keywords | 1328 | (cl-loop for keyword in cperl-sub-keywords |
| 1329 | when (eq char (aref keyword (1- (length keyword)))) | 1329 | when (eq char (aref keyword (1- (length keyword)))) |
| 1330 | return t)) | 1330 | return t)) |
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 396141b3884..9a5a1ad217b 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -3009,7 +3009,7 @@ Obeying it means displaying in another window the specified file and line." | |||
| 3009 | ;; Rich Schaefer <schaefer@asc.slb.com> Schlumberger, Austin, Tx. | 3009 | ;; Rich Schaefer <schaefer@asc.slb.com> Schlumberger, Austin, Tx. |
| 3010 | 3010 | ||
| 3011 | (defun gud-find-c-expr () | 3011 | (defun gud-find-c-expr () |
| 3012 | "Returns the expr that surrounds point." | 3012 | "Return the expr that surrounds point." |
| 3013 | (interactive) | 3013 | (interactive) |
| 3014 | (save-excursion | 3014 | (save-excursion |
| 3015 | (let ((p (point)) | 3015 | (let ((p (point)) |
| @@ -3034,7 +3034,7 @@ Obeying it means displaying in another window the specified file and line." | |||
| 3034 | (buffer-substring (car expr) (cdr expr))))) | 3034 | (buffer-substring (car expr) (cdr expr))))) |
| 3035 | 3035 | ||
| 3036 | (defun gud-innermost-expr () | 3036 | (defun gud-innermost-expr () |
| 3037 | "Returns the smallest expr that point is in; move point to beginning of it. | 3037 | "Return the smallest expr that point is in; move point to beginning of it. |
| 3038 | The expr is represented as a cons cell, where the car specifies the point in | 3038 | The expr is represented as a cons cell, where the car specifies the point in |
| 3039 | the current buffer that marks the beginning of the expr and the cdr specifies | 3039 | the current buffer that marks the beginning of the expr and the cdr specifies |
| 3040 | the character after the end of the expr." | 3040 | the character after the end of the expr." |
| @@ -3066,7 +3066,7 @@ the character after the end of the expr." | |||
| 3066 | (error t))) | 3066 | (error t))) |
| 3067 | 3067 | ||
| 3068 | (defun gud-prev-expr () | 3068 | (defun gud-prev-expr () |
| 3069 | "Returns the previous expr, point is set to beginning of that expr. | 3069 | "Return the previous expr, point is set to beginning of that expr. |
| 3070 | The expr is represented as a cons cell, where the car specifies the point in | 3070 | The expr is represented as a cons cell, where the car specifies the point in |
| 3071 | the current buffer that marks the beginning of the expr and the cdr specifies | 3071 | the current buffer that marks the beginning of the expr and the cdr specifies |
| 3072 | the character after the end of the expr." | 3072 | the character after the end of the expr." |
| @@ -3079,7 +3079,7 @@ the character after the end of the expr." | |||
| 3079 | (cons begin end))) | 3079 | (cons begin end))) |
| 3080 | 3080 | ||
| 3081 | (defun gud-next-expr () | 3081 | (defun gud-next-expr () |
| 3082 | "Returns the following expr, point is set to beginning of that expr. | 3082 | "Return the following expr, point is set to beginning of that expr. |
| 3083 | The expr is represented as a cons cell, where the car specifies the point in | 3083 | The expr is represented as a cons cell, where the car specifies the point in |
| 3084 | the current buffer that marks the beginning of the expr and the cdr specifies | 3084 | the current buffer that marks the beginning of the expr and the cdr specifies |
| 3085 | the character after the end of the expr." | 3085 | the character after the end of the expr." |
diff --git a/lisp/progmodes/inf-lisp.el b/lisp/progmodes/inf-lisp.el index dafb89a5b65..7d5ec06bf51 100644 --- a/lisp/progmodes/inf-lisp.el +++ b/lisp/progmodes/inf-lisp.el | |||
| @@ -287,7 +287,7 @@ to continue it." | |||
| 287 | (buffer-substring (point) end)))) | 287 | (buffer-substring (point) end)))) |
| 288 | 288 | ||
| 289 | (defun lisp-input-filter (str) | 289 | (defun lisp-input-filter (str) |
| 290 | "t if STR does not match `inferior-lisp-filter-regexp'." | 290 | "Return t if STR does not match `inferior-lisp-filter-regexp'." |
| 291 | (not (string-match inferior-lisp-filter-regexp str))) | 291 | (not (string-match inferior-lisp-filter-regexp str))) |
| 292 | 292 | ||
| 293 | ;;;###autoload | 293 | ;;;###autoload |
| @@ -564,7 +564,7 @@ Used by these commands to determine defaults." | |||
| 564 | 564 | ||
| 565 | ;;; Adapted from function-called-at-point in help.el. | 565 | ;;; Adapted from function-called-at-point in help.el. |
| 566 | (defun lisp-fn-called-at-pt () | 566 | (defun lisp-fn-called-at-pt () |
| 567 | "Returns the name of the function called in the current call. | 567 | "Return the name of the function called in the current call. |
| 568 | The value is nil if it can't find one." | 568 | The value is nil if it can't find one." |
| 569 | (condition-case nil | 569 | (condition-case nil |
| 570 | (save-excursion | 570 | (save-excursion |
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index eef2ca643f6..702de894528 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el | |||
| @@ -268,8 +268,8 @@ find a search tool; by default, this uses \"find | grep\" in the | |||
| 268 | (cl-defgeneric xref-backend-identifier-at-point (_backend) | 268 | (cl-defgeneric xref-backend-identifier-at-point (_backend) |
| 269 | "Return the relevant identifier at point. | 269 | "Return the relevant identifier at point. |
| 270 | 270 | ||
| 271 | The return value must be a string or nil. nil means no | 271 | The return value must be a string, or nil meaning no identifier |
| 272 | identifier at point found. | 272 | at point found. |
| 273 | 273 | ||
| 274 | If it's hard to determine the identifier precisely (e.g., because | 274 | If it's hard to determine the identifier precisely (e.g., because |
| 275 | it's a method call on unknown type), the implementation can | 275 | it's a method call on unknown type), the implementation can |
| @@ -280,7 +280,7 @@ recognize and then delegate the work to an external process." | |||
| 280 | (and thing (substring-no-properties thing)))) | 280 | (and thing (substring-no-properties thing)))) |
| 281 | 281 | ||
| 282 | (cl-defgeneric xref-backend-identifier-completion-table (backend) | 282 | (cl-defgeneric xref-backend-identifier-completion-table (backend) |
| 283 | "Returns the completion table for identifiers.") | 283 | "Return the completion table for identifiers.") |
| 284 | 284 | ||
| 285 | 285 | ||
| 286 | ;;; misc utilities | 286 | ;;; misc utilities |