?
Current Path : /usr/share/emacs/24.3/lisp/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : //usr/share/emacs/24.3/lisp/face-remap.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:17 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/face-remap.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defvar internal-lisp-face-attributes [nil :family :foundry :swidth :height :weight :slant :underline :inverse :foreground :background :stipple :overline :strike :box :font :inherit :fontset :vector]) #@471 Return true if ATTRS1 contains a greater number of relative face-attributes than ATTRS2. A face attribute is considered relative if `face-attribute-relative-p' returns non-nil. ATTRS1 and ATTRS2 may be any value suitable for a `face' text property, including face names, lists of face names, face-attribute plists, etc. This function can be used as a predicate with `sort', to sort face lists so that more specific faces are located near the end. (fn ATTRS1 ATTRS2) (defalias 'face-attrs-more-relative-p #[514 "\301!\204 \302!\262\301!\204 \302!\262\303\211G\303\211W\203N \211H\211\203E \304 H\"\2037 T\262\304H\"\203E T\262\266\211T\262\202 \266W\207" [internal-lisp-face-attributes vectorp face-attributes-as-vector 0 face-attribute-relative-p] 12 (#$ . 755)]) #@141 Order ENTRY so that more relative face specs are near the beginning. The list structure of ENTRY may be destructively modified. (fn ENTRY) (defalias 'face-remap-order #[257 "\211\237\262\211\300A\301\"\241\210\211\237\207" [sort face-attrs-more-relative-p] 5 (#$ . 1559)]) #@1032 Add a face remapping entry of FACE to SPECS in the current buffer. Return a cookie which can be used to delete this remapping with `face-remap-remove-relative'. The remaining arguments, SPECS, should form a list of faces. Each list element should be either a face name or a property list of face attribute/value pairs. If more than one face is listed, that specifies an aggregate face, in the same way as in a `face' text property, except for possible priority changes noted below. The face remapping specified by SPECS takes effect alongside the remappings from other calls to `face-remap-add-relative' for the same FACE, as well as the normal definition of FACE (at lowest priority). This function tries to sort multiple remappings for the same face, so that remappings specifying relative face attributes are applied after remappings specifying absolute face attributes. The base (lowest priority) remapping may be set to something other than the normal definition of FACE via `face-remap-set-base'. (fn FACE &rest SPECS) (defalias 'face-remap-add-relative #[385 "\211:\203 \211A\204 \211@\262\202 \301\300!\210\236\211\204% \211D\262\211B\211A\2119\2030 \211C\262\302B!\241\266B\207" [face-remapping-alist make-local-variable face-remap-order] 8 (#$ . 1843)]) #@139 Remove a face remapping previously added by `face-remap-add-relative'. COOKIE should be the return value from that function. (fn COOKIE) (defalias 'face-remap-remove-relative #[257 "\211@\236\211\2054 \301AA\"\211A=?\2052 \241\210\211\203+ \211\242@=\2030 \211A\2040 \301\"A\262\207" [face-remapping-alist remq] 6 (#$ . 3137)]) #@193 Set the base remapping of FACE to the normal definition of FACE. This causes the remappings specified by `face-remap-add-relative' to apply on top of the normal definition of FACE. (fn FACE) (defalias 'face-remap-reset-base #[257 "\211\236\211\205 \211\211AA)\204 \302\"\211\202 \303!\240\207" [face-remapping-alist x remq last] 5 (#$ . 3485)]) #@653 Set the base remapping of FACE in the current buffer to SPECS. This causes the remappings specified by `face-remap-add-relative' to apply on top of the face specification given by SPECS. The remaining arguments, SPECS, should form a list of faces. Each list element should be either a face name or a property list of face attribute/value pairs, like in a `face' text property. If SPECS is empty, call `face-remap-reset-base' to use the normal definition of FACE as the base remapping; note that this is different from SPECS containing a single value `nil', which means not to inherit from the global definition of FACE at all. (fn FACE &rest SPECS) (defalias 'face-remap-set-base #[385 "\211:\203 \211@\203 \211A\204 \211@\262\202 \211\203&