Variable: tildify-string-alist
tildify-string-alist is a customizable variable defined in
tildify.el.gz.
This variable is obsolete since 25.1; use tildify-space-string
instead.
Value
nil
Documentation
Alist specifying what is a hard space in the current major mode.
Each alist item is of the form (MAJOR-MODE . STRING) or
(MAJOR-MODE . SYMBOL).
MAJOR-MODE defines major mode, for which the item applies. It can be either:
- a symbol equal to the major mode of the buffer to be fixed
- t for default item, this applies to all major modes not defined in another
alist item
STRING defines the hard space, which is inserted at places defined by
tildify-pattern. For example it can be "~" for TeX or " " for SGML.
The form (MAJOR-MODE . SYMBOL) defines alias item for MAJOR-MODE. For this mode, the item for the mode SYMBOL is looked up in the alist instead.
Probably introduced at or before Emacs version 25.1.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/tildify.el.gz
(defcustom tildify-string-alist ()
"Alist specifying what is a hard space in the current major mode.
Each alist item is of the form (MAJOR-MODE . STRING) or
\(MAJOR-MODE . SYMBOL).
MAJOR-MODE defines major mode, for which the item applies. It can be either:
- a symbol equal to the major mode of the buffer to be fixed
- t for default item, this applies to all major modes not defined in another
alist item
STRING defines the hard space, which is inserted at places defined by
`tildify-pattern'. For example it can be \"~\" for TeX or \" \" for SGML.
The form (MAJOR-MODE . SYMBOL) defines alias item for MAJOR-MODE. For this
mode, the item for the mode SYMBOL is looked up in the alist instead."
:type '(repeat (cons :tag "Entry for major mode"
(choice (const :tag "Default" t)
(symbol :tag "Major mode"))
(choice (const :tag "No-break space (U+00A0)" "\u00A0")
(string :tag "String ")
(symbol :tag "Like other")))))