;ELC
|
;;; Compiled
|
;;; in Emacs version 26.1
|
;;; with all optimizations.
|
|
;;; This file contains utf-8 non-ASCII characters,
|
;;; and so cannot be loaded into Emacs 22 or earlier.
|
(and (boundp 'emacs-version)
|
(< (aref emacs-version (1- (length emacs-version))) ?A)
|
(string-lessp emacs-version "23")
|
(error "`%s' was compiled for Emacs 23 or later" #$))
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
(autoload 'slot-value "eieio")
|
#@42 Remove whitespace at the beginning of S.
|
(defalias 's-trim-left #[(s) "\302 \303\216\304\305 \"\203 \306\307\310\211 $\202 *\207" [save-match-data-internal s match-data #[nil "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3] string-match "\\`[ \n ]+" replace-match "" t] 5 (#$ . 439)])
|
(byte-code "\300\301\302\303#\300\301\304\303#\300\207" [function-put s-trim-left pure t side-effect-free] 5)
|
#@36 Remove whitespace at the end of S.
|
(defalias 's-trim-right #[(s) "\302 \303\216\304\305 \"\203 \306\307\310\211 $\202 *\207" [save-match-data-internal s match-data #[nil "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3] string-match "[ \n ]+\\'" replace-match "" t] 5 (#$ . 869)])
|
#@50 Remove whitespace at the beginning and end of S.
|
(defalias 's-trim #[(s) "\301\302!!\207" [s s-trim-left s-trim-right] 3 (#$ . 1184)])
|
(byte-code "\300\301\302\303#\300\301\304\303#\300\207" [function-put s-trim pure t side-effect-free] 5)
|
#@63 Convert all adjacent whitespace characters to a single space.
|
(defalias 's-collapse-whitespace #[(s) "\301\302\303#\207" [s replace-regexp-in-string "[ \n ]+" " "] 4 (#$ . 1431)])
|
(byte-code "\300\301\302\303#\300\301\304\303#\300\207" [function-put s-collapse-whitespace pure t side-effect-free] 5)
|
#@190 Split S into substrings bounded by matches for regexp SEPARATOR.
|
If OMIT-NULLS is non-nil, zero-length substrings are omitted.
|
|
This is a simple wrapper around the built-in `split-string'.
|
(defalias 's-split #[(separator s &optional omit-nulls) "\304 \305\216\306 \n#*\207" [save-match-data-internal s separator omit-nulls match-data #[nil "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3] split-string] 4 (#$ . 1740)])
|
(byte-code "\300\301\302\303#\300\207" [function-put s-split side-effect-free t] 4)
|
#@164 Split S up to N times into substrings bounded by matches for regexp SEPARATOR.
|
|
If OMIT-NULLS is non-nil, zero-length substrings are omitted.
|
|
See also `s-split'.
|
(defalias 's-split-up-to #[(separator s n &optional omit-nulls) "\306 \307\216\310\311\312\313!rq\210\314\216\fc\210eb\315 \311\316#\203L \310W\203L \n\310\224{\203: \317\232\204? B)\310\225bS\202 \nd{\203] \317\232\204b B, \237,\207" [save-match-data-internal r op #1=#:temp-buffer s separator match-data #[nil "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3] 0 nil generate-new-buffer " *temp*" #[nil "\301!\205 |