Current File : //usr/share/emacs/24.3/lisp/international/mule-util.elc |
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:09:11 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/international/mule-util.el
;;; in Emacs version 24.3.1
;;; with all optimizations.
;;; This file uses dynamic docstrings, first added in Emacs 19.29.
;;; This file does not contain utf-8 non-ASCII characters,
;;; and so can be loaded in Emacs versions earlier than 23.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
#@40 Return a list of characters in STRING.
(defalias 'string-to-list #[(string) "\301\302\"\207" [string append nil] 3 (#$ . 566)])
(put 'string-to-list 'byte-optimizer 'byte-compile-inline-expand)
#@42 Return a vector of characters in STRING.
(defalias 'string-to-vector #[(string) "\301!\207" [string vconcat] 2 (#$ . 767)])
(put 'string-to-vector 'byte-optimizer 'byte-compile-inline-expand)
#@57 Embed OBJ (string or character) at index IDX of STRING.
(defalias 'store-substring #[(string idx obj) "\250\203
\nI\210\202, G G\306
W\203+ \n\\HI\210T\211\202 + \207" [obj string idx i len2 len1 0] 5 (#$ . 966)])
#@1124 Truncate string STR to end at column END-COLUMN.
The optional 3rd arg START-COLUMN, if non-nil, specifies the starting
column; that means to return the characters occupying columns
START-COLUMN ... END-COLUMN of STR. Both END-COLUMN and START-COLUMN
are specified in terms of character display width in the current
buffer; see also `char-width'.
The optional 4th arg PADDING, if non-nil, specifies a padding
character (which should have a display width of 1) to add at the end
of the result if STR doesn't reach column END-COLUMN, or if END-COLUMN
comes in the middle of a character in STR. PADDING is also added at
the beginning of the result if column START-COLUMN appears in the
middle of a character in STR.
If PADDING is nil, no padding is added in these cases, so
the resulting string may be narrower than END-COLUMN.
If ELLIPSIS is non-nil, it should be a string which will replace the
end of STR (including any padding) if it extends beyond END-COLUMN,
unless the display width of STR is equal to or less than the display
width of ELLIPSIS. If it is non-nil and not a string, then ELLIPSIS
defaults to "...".
(defalias 'truncate-string-to-width #[(str end-column &optional start-column padding ellipsis) "\204 \306 \203 ;\204 \307\nG\310\n! \203 G\202 \306 \203* \310 !\202+ \306\306\211\311\211\312\211\211\211\312\313\314\217\210W\203f \203b \315\"\202\331 \311\202\331 \203| V\203| \315Z\"Y\203\316 W\203\241 V\203\241 Z\202\243 \311\312\316\317\217\210V\203\266
\f\203\316 W\203\316 \315Z\"\nO R.\f\207" [start-column ellipsis str from-idx last-idx last-column 0 "..." string-width "" nil (byte-code " W\203 \nH\305\f!\\T\202 \305\207" [column start-column str idx ch char-width] 3) ((args-out-of-range (byte-code "\302\207" [str-len idx nil] 1))) make-string (byte-code " W\203
H\306!\\T\202 \306\207" [column end-column last-column idx last-idx str char-width ch] 3) ((args-out-of-range (byte-code "\302\207" [str-len idx nil] 1))) ch tail-padding head-padding column idx ellipsis-width ellipsis-len str-width str-len padding end-column] 12 (#$ . 1204)])
#@380 Return t if OBJ is a nested alist.
Nested alist is a list of the form (ENTRY . BRANCHES), where ENTRY is
any Lisp object, and BRANCHES is a list of cons cells of the form
(KEY-ELEMENT . NESTED-ALIST).
You can use a nested alist to store any Lisp object (ENTRY) for a key
sequence KEYSEQ, where KEYSEQ is a sequence of KEY-ELEMENT. KEYSEQ
can be a string, a vector, or a list.
(defalias 'nested-alist-p #[(obj) "\205\f <\205\f A<\207" [obj] 1 (#$ . 3420)])
(put 'nested-alist-p 'byte-optimizer 'byte-compile-inline-expand)
#@278 Set ENTRY for KEYSEQ in a nested alist ALIST.
Optional 4th arg LEN non-nil means the first LEN elements in KEYSEQ
are considered.
Optional 5th argument BRANCHES if non-nil is branches for a keyseq
longer than KEYSEQ.
See the documentation of `nested-alist-p' for more detail.
(defalias 'set-nested-alist #[(keyseq entry alist &optional len branches) "\211\205 <\205 A<)\204 \306\307\"\210\n<\206 \nG\310\311\211W\203z \211\205>