diff options
| author | Andrea Corallo | 2020-12-30 13:50:23 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2020-12-30 14:05:19 +0100 |
| commit | db2a49327a48a375cc2813d5211d762c5dfe55ff (patch) | |
| tree | 744778c2aacf86ba2853513ee4e3f097df138130 | |
| parent | 0593f478762437e2a8618f3f874a26424e4590b4 (diff) | |
| download | emacs-db2a49327a48a375cc2813d5211d762c5dfe55ff.tar.gz emacs-db2a49327a48a375cc2813d5211d762c5dfe55ff.zip | |
* Order function types in aphabetical order
* lisp/emacs-lisp/comp.el (comp-known-type-specifiers): Reorder in
aphabetical order and comment.
| -rw-r--r-- | lisp/emacs-lisp/comp.el | 361 |
1 files changed, 173 insertions, 188 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index 7e5a9ec951c..b6ade0b99db 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el | |||
| @@ -185,133 +185,112 @@ Useful to hook into pass checkers.") | |||
| 185 | ;; FIXME this probably should not be here but... good for now. | 185 | ;; FIXME this probably should not be here but... good for now. |
| 186 | (defconst comp-known-type-specifiers | 186 | (defconst comp-known-type-specifiers |
| 187 | `( | 187 | `( |
| 188 | ;; pure-fns | 188 | ;; Functions we can trust not to be or if redefined should expose |
| 189 | (cons (function (t t) cons)) | 189 | ;; the same type. Vast majority of these is either pure or |
| 190 | (car (function (list) t)) | 190 | ;; pritive, the original list is the union of pure + |
| 191 | (cdr (function (list) t)) | 191 | ;; side-effect-free-fns + side-effect-and-error-free-fns: |
| 192 | (1+ (function ((or number marker)) number)) | 192 | (% (function ((or number marker) (or number marker)) number)) |
| 193 | (1- (function ((or number marker)) number)) | 193 | (* (function (&rest (or number marker)) number)) |
| 194 | (+ (function (&rest (or number marker)) number)) | 194 | (+ (function (&rest (or number marker)) number)) |
| 195 | (- (function (&rest (or number marker)) number)) | 195 | (- (function (&rest (or number marker)) number)) |
| 196 | (* (function (&rest (or number marker)) number)) | ||
| 197 | (/ (function ((or number marker) &rest (or number marker)) number)) | 196 | (/ (function ((or number marker) &rest (or number marker)) number)) |
| 198 | (% (function ((or number marker) (or number marker)) number)) | ||
| 199 | (concat (function (&rest sequence) string)) | ||
| 200 | (regexp-opt (function (list) string)) | ||
| 201 | (string-to-char (function (string) fixnum)) | ||
| 202 | (symbol-name (function (symbol) string)) | ||
| 203 | (eq (function (t t) boolean)) | ||
| 204 | (eql (function (t t) boolean)) | ||
| 205 | (= (function ((or number marker) &rest (or number marker)) boolean)) | ||
| 206 | (/= (function ((or number marker) (or number marker)) boolean)) | 197 | (/= (function ((or number marker) (or number marker)) boolean)) |
| 198 | (1+ (function ((or number marker)) number)) | ||
| 199 | (1- (function ((or number marker)) number)) | ||
| 207 | (< (function ((or number marker) &rest (or number marker)) boolean)) | 200 | (< (function ((or number marker) &rest (or number marker)) boolean)) |
| 208 | (<= (function ((or number marker) &rest (or number marker)) boolean)) | 201 | (<= (function ((or number marker) &rest (or number marker)) boolean)) |
| 209 | (>= (function ((or number marker) &rest (or number marker)) boolean)) | 202 | (= (function ((or number marker) &rest (or number marker)) boolean)) |
| 210 | (> (function ((or number marker) &rest (or number marker)) boolean)) | 203 | (> (function ((or number marker) &rest (or number marker)) boolean)) |
| 211 | (min (function ((or number marker) &rest (or number marker)) number)) | 204 | (>= (function ((or number marker) &rest (or number marker)) boolean)) |
| 212 | (max (function ((or number marker) &rest (or number marker)) number)) | ||
| 213 | (mod (function ((or number marker) (or number marker)) | ||
| 214 | (or (integer 0 *) (float 0 *)))) | ||
| 215 | (abs (function (number) number)) | 205 | (abs (function (number) number)) |
| 216 | (ash (function (integer integer) integer)) | ||
| 217 | (sqrt (function (number) float)) | ||
| 218 | (logand (function (&rest (or integer marker)) integer)) | ||
| 219 | (logior (function (&rest (or integer marker)) integer)) | ||
| 220 | (lognot (function (integer) integer)) | ||
| 221 | (logxor (function (&rest (or integer marker)) integer)) | ||
| 222 | (logcount (function (integer) integer)) | ||
| 223 | (copysign (function (float float) float)) | ||
| 224 | (isnan (function (float) boolean)) | ||
| 225 | (ldexp (function (number integer) float)) | ||
| 226 | (float (function (number) float)) | ||
| 227 | (logb (function (number) integer)) | ||
| 228 | (floor (function (number &optional number) integer)) | ||
| 229 | (ceiling (function (number &optional number) integer)) | ||
| 230 | (round (function (number &optional number) integer)) | ||
| 231 | (truncate (function (number &optional number) integer)) | ||
| 232 | (ffloor (function (float) float)) | ||
| 233 | (fceiling (function (float) float)) | ||
| 234 | (fround (function (float) float)) | ||
| 235 | (ftruncate (function (float) float)) | ||
| 236 | (string= (function ((or string symbol) (or string symbol)) boolean)) | ||
| 237 | (string-equal (function ((or string symbol) (or string symbol)) boolean)) | ||
| 238 | (string< (function ((or string symbol) (or string symbol)) boolean)) | ||
| 239 | (string-lessp (function ((or string symbol) (or string symbol)) boolean)) | ||
| 240 | (string-search (function (string string &optional integer) integer)) | ||
| 241 | (string-to-number (function (string &optional integer) number)) | ||
| 242 | (string-to-syntax (function (string) cons)) | ||
| 243 | (substring (function ((or string vector) &optional integer integer) | ||
| 244 | (or string vector))) | ||
| 245 | (sxhash (function (t) integer)) | ||
| 246 | (sxhash-equal (function (t) integer)) | ||
| 247 | (sxhash-eq (function (t) integer)) | ||
| 248 | (sxhash-eql (function (t) integer)) | ||
| 249 | (symbol-function (function (symbol) t)) | ||
| 250 | (symbol-plist (function (symbol) list)) | ||
| 251 | (symbol-value (function (symbol) t)) | ||
| 252 | (string-make-unibyte (function (string) string)) | ||
| 253 | (string-make-multibyte (function (string) string)) | ||
| 254 | (string-as-multibyte (function (string) string)) | ||
| 255 | (string-as-unibyte (function (string) string)) | ||
| 256 | (string-to-multibyte (function (string) string)) | ||
| 257 | (tan (function (number) float)) | ||
| 258 | (time-convert (function (t &optional (or boolean integer)) cons)) | ||
| 259 | (unibyte-char-to-multibyte (function (fixnum) fixnum)) ;; byte is fixnum | ||
| 260 | (upcase (function ((or fixnum string)) (or fixnum string))) | ||
| 261 | (user-full-name (function (&optional integer) string)) | ||
| 262 | (user-login-name (function (&optional integer) (or string null))) | ||
| 263 | (user-original-login-name (function (&optional integer) (or string null))) | ||
| 264 | (custom-variable-p (function (symbol) boolean)) | ||
| 265 | (vconcat (function (&rest sequence) vector)) | ||
| 266 | ;; TODO all window-* :x | ||
| 267 | (zerop (function (number) boolean)) | ||
| 268 | ;; side-effect-free-fns | ||
| 269 | (acos (function (number) float)) | 206 | (acos (function (number) float)) |
| 270 | (append (function (&rest list) list)) | 207 | (append (function (&rest list) list)) |
| 208 | (aref (function (array fixnum) t)) | ||
| 209 | (arrayp (function (t) boolean)) | ||
| 210 | (ash (function (integer integer) integer)) | ||
| 271 | (asin (function (number) float)) | 211 | (asin (function (number) float)) |
| 212 | (assq (function (t list) list)) | ||
| 272 | (atan (function (number &optional number) float)) | 213 | (atan (function (number &optional number) float)) |
| 214 | (atom (function (t) boolean)) | ||
| 215 | (bignump (function (t) boolean)) | ||
| 216 | (bobp (function () boolean)) | ||
| 217 | (bolp (function () boolean)) | ||
| 218 | (bool-vector-count-consecutive (function (bool-vector bool-vector integer) fixnum)) | ||
| 219 | (bool-vector-count-population (function (bool-vector) fixnum)) | ||
| 220 | (bool-vector-not (function (bool-vector &optional bool-vector) bool-vector)) | ||
| 221 | (bool-vector-p (function (t) boolean)) | ||
| 222 | (bool-vector-subsetp (function (bool-vector bool-vector) boolean)) | ||
| 273 | (boundp (function (symbol) boolean)) | 223 | (boundp (function (symbol) boolean)) |
| 224 | (buffer-end (function ((or number marker)) integer)) | ||
| 274 | (buffer-file-name (function (&optional buffer) string)) | 225 | (buffer-file-name (function (&optional buffer) string)) |
| 226 | (buffer-list (function (&optional frame) list)) | ||
| 275 | (buffer-local-variables (function (&optional buffer) list)) | 227 | (buffer-local-variables (function (&optional buffer) list)) |
| 276 | (buffer-modified-p (function (&optional buffer) boolean)) | 228 | (buffer-modified-p (function (&optional buffer) boolean)) |
| 229 | (buffer-size (function (&optional buffer) integer)) | ||
| 230 | (buffer-string (function () string)) | ||
| 277 | (buffer-substring (function ((or integer marker) (or integer marker)) string)) | 231 | (buffer-substring (function ((or integer marker) (or integer marker)) string)) |
| 232 | (bufferp (function (t) boolean)) | ||
| 278 | (byte-code-function-p (function (t) boolean)) | 233 | (byte-code-function-p (function (t) boolean)) |
| 279 | (capitalize (function (or integer string) (or integer string))) | 234 | (capitalize (function (or integer string) (or integer string))) |
| 235 | (car (function (list) t)) | ||
| 280 | (car-less-than-car (function (list list) boolean)) | 236 | (car-less-than-car (function (list list) boolean)) |
| 237 | (car-safe (function (t) t)) | ||
| 238 | (case-table-p (function (t) boolean)) | ||
| 239 | (cdr (function (list) t)) | ||
| 240 | (cdr-safe (function (t) t)) | ||
| 241 | (ceiling (function (number &optional number) integer)) | ||
| 281 | (char-after (function (&optional (or marker integer)) fixnum)) | 242 | (char-after (function (&optional (or marker integer)) fixnum)) |
| 282 | (char-before (function (&optional (or marker integer)) fixnum)) | 243 | (char-before (function (&optional (or marker integer)) fixnum)) |
| 283 | (char-equal (function (integer integer) boolean)) | 244 | (char-equal (function (integer integer) boolean)) |
| 245 | (char-or-string-p (function (t) boolean)) | ||
| 284 | (char-to-string (function (fixnum) string)) | 246 | (char-to-string (function (fixnum) string)) |
| 285 | (char-width (function (fixnum) fixnum)) | 247 | (char-width (function (fixnum) fixnum)) |
| 286 | (compare-strings (function (string (or integer marker null) | 248 | (characterp (function (t &optional t) boolean)) |
| 287 | (or integer marker null) | 249 | (charsetp (function (t) boolean)) |
| 288 | string (or integer marker null) | 250 | (commandp (function (t &optional t) boolean)) |
| 289 | (or integer marker null) | 251 | (compare-strings (function (string (or integer marker null) (or integer marker null) string (or integer marker null) (or integer marker null) &optional t) (or (member t) fixnum))) |
| 290 | &optional t) | 252 | (concat (function (&rest sequence) string)) |
| 291 | (or (member t) fixnum))) | 253 | (cons (function (t t) cons)) |
| 254 | (consp (function (t) boolean)) | ||
| 292 | (coordinates-in-window-p (function (cons window) boolean)) | 255 | (coordinates-in-window-p (function (cons window) boolean)) |
| 293 | (copy-alist (function (list) list)) | 256 | (copy-alist (function (list) list)) |
| 294 | (copy-sequence (function (sequence) sequence)) | ||
| 295 | (copy-marker (function (&optional (or integer marker) boolean) marker)) | 257 | (copy-marker (function (&optional (or integer marker) boolean) marker)) |
| 258 | (copy-sequence (function (sequence) sequence)) | ||
| 259 | (copysign (function (float float) float)) | ||
| 296 | (cos (function (number) float)) | 260 | (cos (function (number) float)) |
| 297 | (count-lines (function ((or integer marker) (or integer marker) &optional t) | 261 | (count-lines (function ((or integer marker) (or integer marker) &optional t) integer)) |
| 298 | integer)) | 262 | (current-buffer (function () buffer)) |
| 263 | (current-global-map (function () cons)) | ||
| 264 | (current-indentation (function () integer)) | ||
| 265 | (current-local-map (function () cons)) | ||
| 266 | (current-minor-mode-maps (function () cons)) | ||
| 267 | (current-time (function () cons)) | ||
| 299 | (current-time-string (function (&optional string boolean) string)) | 268 | (current-time-string (function (&optional string boolean) string)) |
| 300 | (current-time-zone (function (&optional string boolean) cons)) | 269 | (current-time-zone (function (&optional string boolean) cons)) |
| 270 | (custom-variable-p (function (symbol) boolean)) | ||
| 301 | (decode-char (function (cons t) (or fixnum null))) | 271 | (decode-char (function (cons t) (or fixnum null))) |
| 302 | (decode-time (function (&optional string symbol symbol) cons)) | 272 | (decode-time (function (&optional string symbol symbol) cons)) |
| 303 | (default-boundp (function (symbol) boolean)) | 273 | (default-boundp (function (symbol) boolean)) |
| 304 | (default-value (function (symbol) t)) | 274 | (default-value (function (symbol) t)) |
| 305 | (documentation (function ((or function symbol subr) &optional t) | 275 | (degrees-to-radians (function (number) float)) |
| 306 | (or null string))) | 276 | (documentation (function ((or function symbol subr) &optional t) (or null string))) |
| 307 | (downcase (function ((or fixnum string)) (or fixnum string))) | 277 | (downcase (function ((or fixnum string)) (or fixnum string))) |
| 278 | (elt (function (sequence integer) t)) | ||
| 308 | (encode-char (function (fixnum symbol) (or fixnum null))) | 279 | (encode-char (function (fixnum symbol) (or fixnum null))) |
| 309 | (exp (function (number) float)) | ||
| 310 | (expt (function (number number) float)) | ||
| 311 | (encode-time (function (cons &rest t) cons)) | 280 | (encode-time (function (cons &rest t) cons)) |
| 281 | (eobp (function () boolean)) | ||
| 282 | (eolp (function () boolean)) | ||
| 283 | (eq (function (t t) boolean)) | ||
| 284 | (eql (function (t t) boolean)) | ||
| 285 | (equal (function (t t) boolean)) | ||
| 312 | (error-message-string (function (list) string)) | 286 | (error-message-string (function (list) string)) |
| 287 | (eventp (function (t) boolean)) | ||
| 288 | (exp (function (number) float)) | ||
| 289 | (expt (function (number number) float)) | ||
| 313 | (fboundp (function (symbol) boolean)) | 290 | (fboundp (function (symbol) boolean)) |
| 291 | (fceiling (function (float) float)) | ||
| 314 | (featurep (function (symbol &optional symbol) boolean)) | 292 | (featurep (function (symbol &optional symbol) boolean)) |
| 293 | (ffloor (function (float) float)) | ||
| 315 | (file-directory-p (function (string) boolean)) | 294 | (file-directory-p (function (string) boolean)) |
| 316 | (file-exists-p (function (string) boolean)) | 295 | (file-exists-p (function (string) boolean)) |
| 317 | (file-locked-p (function (string) boolean)) | 296 | (file-locked-p (function (string) boolean)) |
| @@ -320,174 +299,179 @@ Useful to hook into pass checkers.") | |||
| 320 | (file-readable-p (function (string) boolean)) | 299 | (file-readable-p (function (string) boolean)) |
| 321 | (file-symlink-p (function (string) boolean)) | 300 | (file-symlink-p (function (string) boolean)) |
| 322 | (file-writable-p (function (string) boolean)) | 301 | (file-writable-p (function (string) boolean)) |
| 302 | (fixnump (function (t) boolean)) | ||
| 303 | (float (function (number) float)) | ||
| 323 | (float-time (function (&optional cons) float)) | 304 | (float-time (function (&optional cons) float)) |
| 305 | (floatp (function (t) boolean)) | ||
| 306 | (floor (function (number &optional number) integer)) | ||
| 307 | (following-char (function () fixnum)) | ||
| 324 | (format (function (string &rest t) string)) | 308 | (format (function (string &rest t) string)) |
| 325 | (format-time-string (function (string &optional cons symbol) string)) | 309 | (format-time-string (function (string &optional cons symbol) string)) |
| 326 | (frame-first-window (function ((or frame window)) window)) | 310 | (frame-first-window (function ((or frame window)) window)) |
| 327 | (frame-root-window (function (&optional (or frame window)) window)) | 311 | (frame-root-window (function (&optional (or frame window)) window)) |
| 328 | (frame-selected-window (function (&optional (or frame window)) window)) | 312 | (frame-selected-window (function (&optional (or frame window)) window)) |
| 329 | (frame-visible-p (function (frame) boolean)) | 313 | (frame-visible-p (function (frame) boolean)) |
| 314 | (framep (function (t) boolean)) | ||
| 315 | (fround (function (float) float)) | ||
| 316 | (ftruncate (function (float) float)) | ||
| 330 | (get (function (symbol symbol) t)) | 317 | (get (function (symbol symbol) t)) |
| 331 | (gethash (function (t hash-table &optional t) t)) | ||
| 332 | (get-buffer (function ((or buffer string)) (or buffer null))) | 318 | (get-buffer (function ((or buffer string)) (or buffer null))) |
| 333 | (get-buffer-window (function (&optional (or buffer string) | 319 | (get-buffer-window (function (&optional (or buffer string) (or symbol (integer 0 0))) (or null window))) |
| 334 | (or symbol (integer 0 0))) | ||
| 335 | (or null window))) | ||
| 336 | (getenv (function (string &optional frame) (or null string))) | ||
| 337 | (get-file-buffer (function (string) (or null buffer))) | 320 | (get-file-buffer (function (string) (or null buffer))) |
| 321 | (get-largest-window (function (&optional t t t) window)) | ||
| 322 | (get-lru-window (function (&optional t t t) window)) | ||
| 323 | (getenv (function (string &optional frame) (or null string))) | ||
| 324 | (gethash (function (t hash-table &optional t) t)) | ||
| 338 | (hash-table-count (function (hash-table) integer)) | 325 | (hash-table-count (function (hash-table) integer)) |
| 326 | (hash-table-p (function (t) boolean)) | ||
| 327 | (identity (function (t) t)) | ||
| 328 | (ignore (function (&rest t) null)) | ||
| 339 | (int-to-string (function (number) string)) | 329 | (int-to-string (function (number) string)) |
| 330 | (integer-or-marker-p (function (t) boolean)) | ||
| 331 | (integerp (function (t) boolean)) | ||
| 332 | (interactive-p (function () boolean)) | ||
| 340 | (intern-soft (function (string &optional vector) symbol)) | 333 | (intern-soft (function (string &optional vector) symbol)) |
| 334 | (invocation-directory (function () string)) | ||
| 335 | (invocation-name (function () string)) | ||
| 336 | (isnan (function (float) boolean)) | ||
| 341 | (keymap-parent (function (cons) (or cons null))) | 337 | (keymap-parent (function (cons) (or cons null))) |
| 338 | (keymapp (function (t) boolean)) | ||
| 339 | (keywordp (function (t) boolean)) | ||
| 340 | (last (function (list &optional integer) list)) | ||
| 341 | (lax-plist-get (function (list t) t)) | ||
| 342 | (ldexp (function (number integer) float)) | ||
| 343 | (length (function (sequence) integer)) | ||
| 342 | (length< (function (sequence fixnum) boolean)) | 344 | (length< (function (sequence fixnum) boolean)) |
| 343 | (length> (function (sequence fixnum) boolean)) | ||
| 344 | (length= (function (sequence fixnum) boolean)) | 345 | (length= (function (sequence fixnum) boolean)) |
| 346 | (length> (function (sequence fixnum) boolean)) | ||
| 345 | (line-beginning-position (function (&optional integer) integer)) | 347 | (line-beginning-position (function (&optional integer) integer)) |
| 346 | (line-end-position (function (&optional integer) integer)) | 348 | (line-end-position (function (&optional integer) integer)) |
| 349 | (list (function (&rest t) list)) | ||
| 350 | (listp (function (t) boolean)) | ||
| 347 | (local-variable-if-set-p (function (symbol &optional buffer) boolean)) | 351 | (local-variable-if-set-p (function (symbol &optional buffer) boolean)) |
| 348 | (local-variable-p (function (symbol &optional buffer) boolean)) | 352 | (local-variable-p (function (symbol &optional buffer) boolean)) |
| 349 | (locale-info (function ((member codeset days months paper)) | 353 | (locale-info (function ((member codeset days months paper)) (or null string))) |
| 350 | (or null string))) | ||
| 351 | (log (function (number number) float)) | 354 | (log (function (number number) float)) |
| 352 | (log10 (function (number) float)) | 355 | (log10 (function (number) float)) |
| 356 | (logand (function (&rest (or integer marker)) integer)) | ||
| 357 | (logb (function (number) integer)) | ||
| 358 | (logcount (function (integer) integer)) | ||
| 359 | (logior (function (&rest (or integer marker)) integer)) | ||
| 360 | (lognot (function (integer) integer)) | ||
| 361 | (logxor (function (&rest (or integer marker)) integer)) | ||
| 353 | ;; (lsh (function ((integer ,most-negative-fixnum *) integer) integer)) ? | 362 | ;; (lsh (function ((integer ,most-negative-fixnum *) integer) integer)) ? |
| 354 | (lsh (function (integer integer) integer)) | 363 | (lsh (function (integer integer) integer)) |
| 355 | (make-byte-code (function ((or fixnum list) string vector integer &optional | 364 | (make-byte-code (function ((or fixnum list) string vector integer &optional string t &rest t) vector)) |
| 356 | string t &rest t) | ||
| 357 | vector)) | ||
| 358 | (make-list (function (integer t) list)) | 365 | (make-list (function (integer t) list)) |
| 366 | (make-marker (function () marker)) | ||
| 359 | (make-string (function (integer fixnum &optional t) string)) | 367 | (make-string (function (integer fixnum &optional t) string)) |
| 360 | (make-symbol (function (string) symbol)) | 368 | (make-symbol (function (string) symbol)) |
| 361 | (marker-buffer (function (marker) buffer)) | ||
| 362 | (minibuffer-selected-window (function () window)) | ||
| 363 | (minibuffer-window (function (&optional frame) window)) | ||
| 364 | (multibyte-char-to-unibyte (function (fixnum) fixnum)) | ||
| 365 | (next-window (function (&optional window t t) window)) | ||
| 366 | (number-to-string (function (number) string)) | ||
| 367 | (parse-colon-path (function (string) cons)) | ||
| 368 | (previous-window (function (&optional window t t) window)) | ||
| 369 | (prin1-to-string (function (t &optional t) string)) | ||
| 370 | (propertize (function (string &rest t) string)) | ||
| 371 | (degrees-to-radians (function (number) float)) | ||
| 372 | (radians-to-degrees (function (number) float)) | ||
| 373 | (read-from-string (function (string &ptional integer integer) cons)) | ||
| 374 | (region-beginning (function () integer)) | ||
| 375 | (region-end (function () integer)) | ||
| 376 | (reverse (function (sequence) sequence)) | ||
| 377 | (sin (function (number) float)) | ||
| 378 | (string (function (&rest fixnum) strng)) | ||
| 379 | (get-largest-window (function (&optional t t t) window)) | ||
| 380 | (get-lru-window (function (&optional t t t) window)) | ||
| 381 | (one-window-p (function (&optional t t) boolean)) | ||
| 382 | (regexp-quote (function (string) string)) | ||
| 383 | (proper-list-p (function (t) integer)) | ||
| 384 | (nth (function (integer list) t)) | ||
| 385 | (nthcdr (function (integer list) list)) | ||
| 386 | (last (function (list &optional integer) list)) | ||
| 387 | (length (function (sequence) integer)) | ||
| 388 | (memq (function (t list) list)) | ||
| 389 | (memql (function (t list) list)) | ||
| 390 | (member (function (t list) list)) | ||
| 391 | (assq (function (t list) list)) | ||
| 392 | (rassq (function (t list) list)) | ||
| 393 | (rassoc (function (t list) list)) | ||
| 394 | (plist-get (function (list t) t)) | ||
| 395 | (lax-plist-get (function (list t) t)) | ||
| 396 | (plist-member (function (list t) list)) | ||
| 397 | (aref (function (array fixnum) t)) | ||
| 398 | (elt (function (sequence integer) t)) | ||
| 399 | (bool-vector-subsetp (function (bool-vector bool-vector) boolean)) | ||
| 400 | (bool-vector-not (function (bool-vector &optional bool-vector) bool-vector)) | ||
| 401 | (bool-vector-count-population (function (bool-vector) fixnum)) | ||
| 402 | (bool-vector-count-consecutive (function (bool-vector bool-vector integer) | ||
| 403 | fixnum)) | ||
| 404 | ;; side-effect-and-error-free-fns | ||
| 405 | (arrayp (function (t) boolean)) | ||
| 406 | (atom (function (t) boolean)) | ||
| 407 | (bignump (function (t) boolean)) | ||
| 408 | (bobp (function () boolean)) | ||
| 409 | (bolp (function () boolean)) | ||
| 410 | (bool-vector-p (function (t) boolean)) | ||
| 411 | (buffer-end (function ((or number marker)) integer)) | ||
| 412 | (buffer-list (function (&optional frame) list)) | ||
| 413 | (buffer-size (function (&optional buffer) integer)) | ||
| 414 | (buffer-string (function () string)) | ||
| 415 | (bufferp (function (t) boolean)) | ||
| 416 | (car-safe (function (t) t)) | ||
| 417 | (case-table-p (function (t) boolean)) | ||
| 418 | (cdr-safe (function (t) t)) | ||
| 419 | (char-or-string-p (function (t) boolean)) | ||
| 420 | (characterp (function (t &optional t) boolean)) | ||
| 421 | (charsetp (function (t) boolean)) | ||
| 422 | (commandp (function (t &optional t) boolean)) | ||
| 423 | (consp (function (t) boolean)) | ||
| 424 | (current-buffer (function () buffer)) | ||
| 425 | (current-global-map (function () cons)) | ||
| 426 | (current-indentation (function () integer)) | ||
| 427 | (current-local-map (function () cons)) | ||
| 428 | (current-minor-mode-maps (function () cons)) | ||
| 429 | (current-time (function () cons)) | ||
| 430 | (eobp (function () boolean)) | ||
| 431 | (eolp (function () boolean)) | ||
| 432 | (equal (function (t t) boolean)) | ||
| 433 | (eventp (function (t) boolean)) | ||
| 434 | (fixnump (function (t) boolean)) | ||
| 435 | (floatp (function (t) boolean)) | ||
| 436 | (following-char (function () fixnum)) | ||
| 437 | (framep (function (t) boolean)) | ||
| 438 | (hash-table-p (function (t) boolean)) | ||
| 439 | (identity (function (t) t)) | ||
| 440 | (ignore (function (&rest t) null)) | ||
| 441 | (integerp (function (t) boolean)) | ||
| 442 | (integer-or-marker-p (function (t) boolean)) | ||
| 443 | (interactive-p (function () boolean)) | ||
| 444 | (invocation-directory (function () string)) | ||
| 445 | (invocation-name (function () string)) | ||
| 446 | (keymapp (function (t) boolean)) | ||
| 447 | (keywordp (function (t) boolean)) | ||
| 448 | (list (function (&rest t) list)) | ||
| 449 | (listp (function (t) boolean)) | ||
| 450 | (make-marker (function () marker)) | ||
| 451 | (mark (function (&optional t) (or integer null))) | 369 | (mark (function (&optional t) (or integer null))) |
| 452 | (mark-marker (function () marker)) | 370 | (mark-marker (function () marker)) |
| 371 | (marker-buffer (function (marker) buffer)) | ||
| 453 | (markerp (function (t) boolean)) | 372 | (markerp (function (t) boolean)) |
| 373 | (max (function ((or number marker) &rest (or number marker)) number)) | ||
| 454 | (max-char (function () fixnum)) | 374 | (max-char (function () fixnum)) |
| 375 | (member (function (t list) list)) | ||
| 455 | (memory-limit (function () integer)) | 376 | (memory-limit (function () integer)) |
| 377 | (memq (function (t list) list)) | ||
| 378 | (memql (function (t list) list)) | ||
| 379 | (min (function ((or number marker) &rest (or number marker)) number)) | ||
| 380 | (minibuffer-selected-window (function () window)) | ||
| 381 | (minibuffer-window (function (&optional frame) window)) | ||
| 382 | (mod (function ((or number marker) (or number marker)) (or (integer 0 *) (float 0 *)))) | ||
| 456 | (mouse-movement-p (function (t) boolean)) | 383 | (mouse-movement-p (function (t) boolean)) |
| 384 | (multibyte-char-to-unibyte (function (fixnum) fixnum)) | ||
| 457 | (natnump (function (t) boolean)) | 385 | (natnump (function (t) boolean)) |
| 386 | (next-window (function (&optional window t t) window)) | ||
| 458 | (nlistp (function (t) boolean)) | 387 | (nlistp (function (t) boolean)) |
| 459 | (not (function (t) boolean)) | 388 | (not (function (t) boolean)) |
| 389 | (nth (function (integer list) t)) | ||
| 390 | (nthcdr (function (integer list) list)) | ||
| 460 | (null (function (t) boolean)) | 391 | (null (function (t) boolean)) |
| 461 | (number-or-marker-p (function (t) boolean)) | 392 | (number-or-marker-p (function (t) boolean)) |
| 393 | (number-to-string (function (number) string)) | ||
| 462 | (numberp (function (t) boolean)) | 394 | (numberp (function (t) boolean)) |
| 395 | (one-window-p (function (&optional t t) boolean)) | ||
| 463 | (overlayp (function (t) boolean)) | 396 | (overlayp (function (t) boolean)) |
| 397 | (parse-colon-path (function (string) cons)) | ||
| 398 | (plist-get (function (list t) t)) | ||
| 399 | (plist-member (function (list t) list)) | ||
| 464 | (point (function () integer)) | 400 | (point (function () integer)) |
| 465 | (point-marker (function () marker)) | 401 | (point-marker (function () marker)) |
| 466 | (point-min (function () integer)) | ||
| 467 | (point-max (function () integer)) | 402 | (point-max (function () integer)) |
| 403 | (point-min (function () integer)) | ||
| 468 | (preceding-char (function () fixnum)) | 404 | (preceding-char (function () fixnum)) |
| 405 | (previous-window (function (&optional window t t) window)) | ||
| 406 | (prin1-to-string (function (t &optional t) string)) | ||
| 469 | (processp (function (t) boolean)) | 407 | (processp (function (t) boolean)) |
| 408 | (proper-list-p (function (t) integer)) | ||
| 409 | (propertize (function (string &rest t) string)) | ||
| 410 | (radians-to-degrees (function (number) float)) | ||
| 411 | (rassoc (function (t list) list)) | ||
| 412 | (rassq (function (t list) list)) | ||
| 413 | (read-from-string (function (string &ptional integer integer) cons)) | ||
| 470 | (recent-keys (function (&optional (or cons null)) vector)) | 414 | (recent-keys (function (&optional (or cons null)) vector)) |
| 471 | (recursion-depth (function () integer)) | 415 | (recursion-depth (function () integer)) |
| 416 | (regexp-opt (function (list) string)) | ||
| 417 | (regexp-quote (function (string) string)) | ||
| 418 | (region-beginning (function () integer)) | ||
| 419 | (region-end (function () integer)) | ||
| 420 | (reverse (function (sequence) sequence)) | ||
| 421 | (round (function (number &optional number) integer)) | ||
| 472 | (safe-length (function (t) integer)) | 422 | (safe-length (function (t) integer)) |
| 473 | (selected-frame (function () frame)) | 423 | (selected-frame (function () frame)) |
| 474 | (selected-window (function () window)) | 424 | (selected-window (function () window)) |
| 475 | (sequencep (function (t) boolean)) | 425 | (sequencep (function (t) boolean)) |
| 426 | (sin (function (number) float)) | ||
| 427 | (sqrt (function (number) float)) | ||
| 476 | (standard-case-table (function () char-table)) | 428 | (standard-case-table (function () char-table)) |
| 477 | (standard-syntax-table (function () char-table)) | 429 | (standard-syntax-table (function () char-table)) |
| 430 | (string (function (&rest fixnum) strng)) | ||
| 431 | (string-as-multibyte (function (string) string)) | ||
| 432 | (string-as-unibyte (function (string) string)) | ||
| 433 | (string-equal (function ((or string symbol) (or string symbol)) boolean)) | ||
| 434 | (string-lessp (function ((or string symbol) (or string symbol)) boolean)) | ||
| 435 | (string-make-multibyte (function (string) string)) | ||
| 436 | (string-make-unibyte (function (string) string)) | ||
| 437 | (string-search (function (string string &optional integer) integer)) | ||
| 438 | (string-to-char (function (string) fixnum)) | ||
| 439 | (string-to-multibyte (function (string) string)) | ||
| 440 | (string-to-number (function (string &optional integer) number)) | ||
| 441 | (string-to-syntax (function (string) cons)) | ||
| 442 | (string< (function ((or string symbol) (or string symbol)) boolean)) | ||
| 443 | (string= (function ((or string symbol) (or string symbol)) boolean)) | ||
| 478 | (stringp (function (t) boolean)) | 444 | (stringp (function (t) boolean)) |
| 479 | (subrp (function (t) boolean)) | 445 | (subrp (function (t) boolean)) |
| 446 | (substring (function ((or string vector) &optional integer integer) (or string vector))) | ||
| 447 | (sxhash (function (t) integer)) | ||
| 448 | (sxhash-eq (function (t) integer)) | ||
| 449 | (sxhash-eql (function (t) integer)) | ||
| 450 | (sxhash-equal (function (t) integer)) | ||
| 451 | (symbol-function (function (symbol) t)) | ||
| 452 | (symbol-name (function (symbol) string)) | ||
| 453 | (symbol-plist (function (symbol) list)) | ||
| 454 | (symbol-value (function (symbol) t)) | ||
| 480 | (symbolp (function (t) boolean)) | 455 | (symbolp (function (t) boolean)) |
| 481 | (syntax-table (function () char-table)) | 456 | (syntax-table (function () char-table)) |
| 482 | (syntax-table-p (function (t) boolean)) | 457 | (syntax-table-p (function (t) boolean)) |
| 458 | (tan (function (number) float)) | ||
| 483 | (this-command-keys (function () string)) | 459 | (this-command-keys (function () string)) |
| 484 | (this-command-keys-vector (function () vector)) | 460 | (this-command-keys-vector (function () vector)) |
| 485 | (this-single-command-keys (function () vector)) | 461 | (this-single-command-keys (function () vector)) |
| 486 | (this-single-command-raw-keys (function () vector)) | 462 | (this-single-command-raw-keys (function () vector)) |
| 463 | (time-convert (function (t &optional (or boolean integer)) cons)) | ||
| 464 | (truncate (function (number &optional number) integer)) | ||
| 487 | (type-of (function (t) symbol)) | 465 | (type-of (function (t) symbol)) |
| 466 | (unibyte-char-to-multibyte (function (fixnum) fixnum)) ;; byte is fixnum | ||
| 467 | (upcase (function ((or fixnum string)) (or fixnum string))) | ||
| 468 | (user-full-name (function (&optional integer) string)) | ||
| 469 | (user-login-name (function (&optional integer) (or string null))) | ||
| 470 | (user-original-login-name (function (&optional integer) (or string null))) | ||
| 488 | (user-real-login-name (function () string)) | 471 | (user-real-login-name (function () string)) |
| 489 | (user-real-uid (function () integer)) | 472 | (user-real-uid (function () integer)) |
| 490 | (user-uid (function () integer)) | 473 | (user-uid (function () integer)) |
| 474 | (vconcat (function (&rest sequence) vector)) | ||
| 491 | (vector (function (&rest t) vector)) | 475 | (vector (function (&rest t) vector)) |
| 492 | (vectorp (function (t) boolean)) | 476 | (vectorp (function (t) boolean)) |
| 493 | (visible-frame-list (function () list)) | 477 | (visible-frame-list (function () list)) |
| @@ -496,6 +480,7 @@ Useful to hook into pass checkers.") | |||
| 496 | (window-live-p (function (t) boolean)) | 480 | (window-live-p (function (t) boolean)) |
| 497 | (window-valid-p (function (t) boolean)) | 481 | (window-valid-p (function (t) boolean)) |
| 498 | (windowp (function (t) boolean)) | 482 | (windowp (function (t) boolean)) |
| 483 | (zerop (function (number) boolean)) | ||
| 499 | ;; Type hints | 484 | ;; Type hints |
| 500 | (comp-hint-fixnum (function (t) fixnum)) | 485 | (comp-hint-fixnum (function (t) fixnum)) |
| 501 | (comp-hint-cons (function (t) cons)) | 486 | (comp-hint-cons (function (t) cons)) |