Skip to content

Commit

Permalink
docs: Fix word order
Browse files Browse the repository at this point in the history
Replace "also see" with "see also".  Before links in the manual that
sadly isn't possible because, if the word before a link is neither
"see" not "in", makeinfo injects "see" before the link.  While wrong,
"also see <link>" is still better than "see also see <link>".
  • Loading branch information
tarsius committed Nov 22, 2024
1 parent 32e8150 commit 24a1be5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion docs/transient.org
Original file line number Diff line number Diff line change
Expand Up @@ -2231,7 +2231,7 @@ potential prefix keys can be used for transient-specific commands
particular is a prefix that I want to (and already do) use for Magit, and
also using that for a common command would prevent me from doing so.

(Also see the next question.)
(See also the next question.)

** Why does {{{kbd(q)}}} not quit popups anymore?
:PROPERTIES:
Expand Down
2 changes: 1 addition & 1 deletion docs/transient.texi
Original file line number Diff line number Diff line change
Expand Up @@ -2540,7 +2540,7 @@ potential prefix keys can be used for transient-specific commands
particular is a prefix that I want to (and already do) use for Magit, and
also using that for a common command would prevent me from doing so.

(Also see the next question.)
(See also the next question.)

@anchor{Why does @kbd{q} not quit popups anymore?}
@appendixsec Why does @kbd{q} not quit popups anymore?
Expand Down
16 changes: 8 additions & 8 deletions lisp/transient.el
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ used that breaks that relationship.
This option is intended for users who use a variable-pitch
font for the `default' face.

Also see `transient-force-fixed-pitch'."
See also `transient-force-fixed-pitch'."
:package-version '(transient . "0.4.0")
:group 'transient
:type 'boolean)
Expand All @@ -371,7 +371,7 @@ you might still want to use a monospaced font in transient's
popup buffer. Setting this option to t causes `default' to
be remapped to `fixed-pitch' in that buffer.

Also see `transient-align-variable-pitch'."
See also `transient-align-variable-pitch'."
:package-version '(transient . "0.2.0")
:group 'transient
:type 'boolean)
Expand Down Expand Up @@ -517,7 +517,7 @@ See info node `(transient)Enabling and Disabling Suffixes'."
(or (and (not (eq color 'unspecified)) color)
"grey60")))))
"Face optionally used to highlight suffixes on higher levels.
Also see option `transient-highlight-higher-levels'."
See also option `transient-highlight-higher-levels'."
:group 'transient-faces)

(defface transient-delimiter '((t :inherit shadow))
Expand Down Expand Up @@ -579,14 +579,14 @@ character used to separate possible values from each other."
`((t :box ( :line-width ,(if (>= emacs-major-version 28) (cons -1 -1) -1)
:color "cyan")))
"Face optionally used to highlight keys conflicting with short-argument.
Also see option `transient-highlight-mismatched-keys'."
See also option `transient-highlight-mismatched-keys'."
:group 'transient-faces)

(defface transient-mismatched-key
`((t :box ( :line-width ,(if (>= emacs-major-version 28) (cons -1 -1) -1)
:color "magenta")))
"Face optionally used to highlight keys without a short-argument.
Also see option `transient-highlight-mismatched-keys'."
See also option `transient-highlight-mismatched-keys'."
:group 'transient-faces)

;;; Persistence
Expand Down Expand Up @@ -1283,7 +1283,7 @@ in regular keymaps or by using `execute-extended-command')."

(defalias 'transient--suffix-only #'ignore
"Ignore ARGUMENTS, do nothing, and return nil.
Also see `transient-command-completion-not-suffix-only-p'.
See also `transient-command-completion-not-suffix-only-p'.
Only use this alias as the value of the `completion-predicate'
symbol property.")

Expand Down Expand Up @@ -1769,7 +1769,7 @@ to `transient-predicate-map'."
"Top-level keymap used by all transients.

If you add a new command here, then you must also add a binding
to `transient-predicate-map'. Also see `transient-base-map'.")
to `transient-predicate-map'. See also `transient-base-map'.")

(defvar-keymap transient-edit-map
:doc "Keymap that is active while a transient in is in \"edit mode\"."
Expand Down Expand Up @@ -3521,7 +3521,7 @@ Intended for use by transient suffix commands."
(cl-defgeneric transient-set-value (obj)
"Persist the value of the transient prefix OBJ.
Only intended for use by `transient-set'.
Also see `transient-prefix-set'.")
See also `transient-prefix-set'.")

(cl-defmethod transient-set-value ((obj transient-prefix))
(oset (oref obj prototype) value (transient-get-value))
Expand Down

0 comments on commit 24a1be5

Please sign in to comment.