lines))))
(defun auth-source-pass--do-debug (&rest msg)
- "Call `auth-source-do-debug` with MSG and a prefix."
+ "Call `auth-source-do-debug' with MSG and a prefix."
(apply #'auth-source-do-debug
(cons (concat "auth-source-pass: " (car msg))
(cdr msg))))
;; Calendar has historically relied heavily on dynamic scoping.
;; Concretely, this manifests in the use of references to let-bound variables
;; in Custom vars as well as code in diary files.
-;; `eval` is hence the core of the culprit. It's used on:
+;; `eval' is hence the core of the culprit. It's used on:
;; - calendar-date-display-form
;; - calendar-time-display-form
;; - calendar-chinese-time-zone
a list of possible hits. See `semantic-completion-collector-engine'
for details on COLLECTOR.
Argument DISPLAYER is an object used to display a list of possible
-completions for a given prefix. See`semantic-completion-display-engine'
+completions for a given prefix. See `semantic-completion-display-engine'
for details on DISPLAYER.
PROMPT is a string to prompt with.
DEFAULT-TAG is a semantic tag or string to use as the default value.
a list of possible hits. See `semantic-completion-collector-engine'
for details on COLLECTOR.
Argument DISPLAYER is an object used to display a list of possible
-completions for a given prefix. See`semantic-completion-display-engine'
+completions for a given prefix. See `semantic-completion-display-engine'
for details on DISPLAYER.
BUFFER is the buffer in which completion will take place.
START is a location for the start of the full symbol.
;;;###autoload
(defun semantic-remove-system-include (dir &optional mode)
"Add a system include DIR to path for MODE.
-Modifies a mode-local version of`semantic-dependency-system-include-path'.
+Modifies a mode-local version of `semantic-dependency-system-include-path'.
Changes made by this function are not persistent."
(interactive (list
(defun cl-struct-sequence-type (struct-type)
"Return the sequence used to build STRUCT-TYPE.
STRUCT-TYPE is a symbol naming a struct type. Return `record',
-`vector`, or `list' if STRUCT-TYPE is a struct type, nil otherwise."
+`vector', or `list' if STRUCT-TYPE is a struct type, nil otherwise."
(declare (side-effect-free t) (pure t))
(cl--struct-class-type (cl--struct-get-class struct-type)))
(if (looking-at "\\s-+\"[^\n\"]+\"\\s-*$") ""))
;; Maybe this should be discouraged/obsoleted and users should be
-;; encouraged to use `lisp-data-mode` instead.
+;; encouraged to use `lisp-data-mode' instead.
(defun lisp-mode-variables (&optional lisp-syntax keywords-case-insensitive
elisp)
"Common initialization routine for lisp modes.
(defun hack-connection-local-variables (criteria)
"Read connection-local variables according to CRITERIA.
Store the connection-local variables in buffer local
-variable`connection-local-variables-alist'.
+variable `connection-local-variables-alist'.
This does nothing if `enable-connection-local-variables' is nil."
(when enable-connection-local-variables
Valid elements include `summary-highlight', `group-highlight',
`article-highlight', `mouse-face', `summary-menu', `group-menu',
-`article-menu', `tree-highlight', `menu', `highlight', `browse-menu',
-`server-menu', `page-marker', `tree-menu', `binary-menu', and`pick-menu'."
+`article-menu', `tree-highlight', `menu', `highlight',
+`browse-menu', `server-menu', `page-marker', `tree-menu',
+`binary-menu', and `pick-menu'."
:group 'gnus-meta
:group 'gnus-visual
:type '(set (const summary-highlight)
"Face used in address area of Hexl mode buffer.")
(defface hexl-ascii-region
- ;; Copied from `header-line`. We used to inherit from it, but that
+ ;; Copied from `header-line'. We used to inherit from it, but that
;; looks awful when the headerline is given a variable-pitch font or
;; (even worse) a 3D look.
'((((class color grayscale) (background light))
It is executed after toggling the mode, and before running MODE-hook.
Before the actual body code, you can write keyword arguments, i.e.
alternating keywords and values. If you provide BODY, then you must
- provide at least one keyword argument (e.g. `:lighter nil`).
+ provide at least one keyword argument (e.g. `:lighter nil').
The following special keywords are supported (other keywords are passed
to `defcustom' if the minor mode is global):
\f
;;;; entry point
-;; We use the Tramp internal function`tramp-make-tramp-file-name'.
+;; We use the Tramp internal function `tramp-make-tramp-file-name'.
;; Better would be, if there are functions to provide user, host and
;; localname of a remote filename, independent of Tramp's implementation.
;; The function calls are wrapped by `funcall' in order to pacify the byte
"Return database connection parameter NAME.
Given a parameter NAME, if :dbconnection is defined in PARAMS
then look for the parameter into the corresponding connection
-defined in `sql-connection-alist`, otherwise look into PARAMS.
-Look `sql-connection-alist` (part of SQL mode) for how to define
+defined in `sql-connection-alist', otherwise look into PARAMS.
+See `sql-connection-alist' (part of SQL mode) for how to define
database connections."
(if (assq :dbconnection params)
(let* ((dbconnection (cdr (assq :dbconnection params)))
Case is significant."
(string< s1 s2)))
-;; The time- functions below translate nil to `current-time` and
-;; accept an integer as of Emacs 25. `decode-time` and
-;; `format-time-string` accept nil on Emacs 24 but don't accept an
+;; The time- functions below translate nil to `current-time' and
+;; accept an integer as of Emacs 25. `decode-time' and
+;; `format-time-string' accept nil on Emacs 24 but don't accept an
;; integer until Emacs 25.
(if (< emacs-major-version 25)
(let ((convert
(when (and backend (symbolp backend) (not (org-export-get-backend backend)))
(user-error "Unknown :backend value"))
(unless backend (require 'ox-org))
- ;; When`:raw' property has a non-nil value, turn all objects back
+ ;; When `:raw' property has a non-nil value, turn all objects back
;; into Org syntax.
(when (and backend (plist-get params :raw))
(org-element-map data org-element-all-objects
;; Org still relies on `comment-dwim', but cannot trust
;; `comment-only-p'. So, `comment-region-function' and
;; `uncomment-region-function' both point
-;; to`org-comment-or-uncomment-region'. Eventually,
+;; to `org-comment-or-uncomment-region'. Eventually,
;; `org-insert-comment' takes care of insertion of comments at the
;; beginning of line.
(regexp ,cperl--version-regexp)))
,cperl--ws*-rx
(group-n 3 (or ";" "{")))
- "A regular expression to collect package names for `imenu`.
+ "A regular expression to collect package names for `imenu'.
Catches \"package NAME;\", \"package NAME VERSION;\", \"package
NAME BLOCK\" and \"package NAME VERSION BLOCK.\" Contains three
groups: One for the keyword \"package\", one for the package
`(or ,cperl--package-for-imenu-rx
,cperl--sub-name-for-imenu-rx
,cperl--pod-heading-rx)
- "A regular expression to collect stuff that goes into the `imenu` index.
+ "A regular expression to collect stuff that goes into the `imenu' index.
Covers packages, subroutines, and POD headings.")
;; end of eval-and-compiled stuff
(defvar cperl-imenu-pod-keywords '("=head"))
(defun cperl-imenu--create-perl-index ()
- "Implement `imenu-create-index-function` for CPerl mode.
+ "Implement `imenu-create-index-function' for CPerl mode.
This function relies on syntaxification to exclude lines which
look like declarations but actually are part of a string, a
comment, or POD."
(secondary-xrefs nil)) ; other xrefs
(let ((temp elisp-xref-find-def-functions))
- ;; FIXME: The `elisp-xref-find-def-functions` function interface does
+ ;; FIXME: The `elisp-xref-find-def-functions' function interface does
;; not allow for namespace filtering so we tacitly assume they all match.
(while (and (null xrefs)
temp)
tab))
;; FIXME: At least the continuation may be folded into
-;; `newline-and-indent`. However, this may not be wanted by everyone so
+;; `newline-and-indent'. However, this may not be wanted by everyone so
;; it should be possible to switch this off.
(defun rst-insert-list (&optional prefer-roman)
;; testcover: ok.
(pop-to-buffer (marker-buffer mrkr))
(goto-char mrkr)
;; FIXME: Should be a customizable number of lines from beginning or end of
- ;; window just like the argument to `recenter`. It would be ideal if
+ ;; window just like the argument to `recenter'. It would be ideal if
;; the adornment is always completely visible.
(recenter 5)))
(define-derived-mode rst-toc-mode special-mode "ReST-TOC"
"Major mode for output from \\[rst-toc], the table-of-contents for the document.
\\{rst-toc-mode-map}"
- ;; FIXME: `revert-buffer-function` must be defined so `revert-buffer` works
+ ;; FIXME: `revert-buffer-function' must be defined so `revert-buffer' works
;; as expected for a special mode. In particular the referred buffer
;; needs to be rescanned and the TOC must be updated accordingly.
;; FIXME: Should contain the name of the buffer this is the toc of.
like `rst-line-tabs'. Nearer lines have generally a higher
likeliness than farther lines. Return nil if no tab is found in
the text above."
- ;; FIXME: See test `indent-for-tab-command-BUGS`.
+ ;; FIXME: See test `indent-for-tab-command-BUGS'.
(save-excursion
(goto-char pt)
(let (leftmost ; Leftmost column found so far.
;;
;; Turn on the mode used for editing the check in log. This
;; defaults to `log-edit-mode'. If changed, it should use a mode
-;; derived from`log-edit-mode'.
+;; derived from `log-edit-mode'.
;;
;; - check-headers ()
;;
("key2" . "please: keep my space after colon"))))))
(defvar auth-source-pass--debug-log nil
- "Contains a list of all messages passed to `auth-source-do-debug`.")
+ "Contains a list of all messages passed to `auth-source-do-debug'.")
(defun auth-source-pass--have-message-matching (regexp)
- "Return non-nil iff at least one `auth-source-do-debug` match REGEXP."
+ "Return non-nil iff at least one `auth-source-do-debug' match REGEXP."
(seq-find (lambda (message)
(string-match regexp message))
auth-source-pass--debug-log))
(put #'auth-source-pass--have-message-matching 'ert-explainer #'auth-source-pass--explain--have-message-matching)
(defun auth-source-pass--debug (&rest msg)
- "Format MSG and add that to `auth-source-pass--debug-log`.
-This function is intended to be set to `auth-source-debug`."
+ "Format MSG and add that to `auth-source-pass--debug-log'.
+This function is intended to be set to `auth-source-debug'."
(add-to-list 'auth-source-pass--debug-log (apply #'format msg) t))
(defvar auth-source-pass--parse-log nil)
(cl-defun flymake-tests--call-with-fixture (fn file
&key (severity-predicate
nil sev-pred-supplied-p))
- "Call FN after flymake setup in FILE, using `flymake-proc`.
+ "Call FN after flymake setup in FILE, using `flymake-proc'.
SEVERITY-PREDICATE is used to setup
`flymake-proc-diagnostic-type-pred'"
(let* ((file (expand-file-name file flymake-tests-data-directory))