?
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/tree-widget.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:32 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/tree-widget.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\302\303\304\305\306\307\310\311&\210\312\313\314\315\316\317\310\303&\207" [require wid-edit custom-declare-group tree-widget nil "Customization support for the Tree Widget library." :version "22.1" :group widgets custom-declare-variable tree-widget-image-enable (if (fboundp 'display-images-p) (display-images-p)) "Non-nil means that tree-widget will try to use images." :type boolean] 8) #@475 List of locations in which to search for the themes sub-directory. Each element is an expression that will be recursively evaluated until it returns a single directory or a list of directories. The default is to search in the `load-path' first, then in the "images" sub directory in the data directory, then in the data directory. The data directory is the value of the variable `data-directory' on Emacs, and what `(locate-data-directory "tree-widget")' returns on XEmacs. (defvar tree-widget-themes-load-path '(load-path (let ((dir (if (fboundp 'locate-data-directory) (locate-data-directory "tree-widget") data-directory))) (and dir (list dir (expand-file-name "images" dir))))) (#$ . 973)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\311\312\304\313\306\307&\210\300\314\315\316\304\317\306\307&\210\300\320\311\321\304\317\306\307&\210\300\322\323\324\306\307\304\325&\210\326\327\330\"\210\331\327\332\333#\210\326\334\335\"\210\331\334\332\333#\210\326\336\337\"\210\331\336\332\333#\207" [custom-declare-variable tree-widget-themes-directory "tree-widget" "Name of the directory in which to look for an image theme.\nWhen nil use the directory where the tree-widget library is located.\nWhen it is a relative name, search in all occurrences of that sub\ndirectory in the path specified by `tree-widget-themes-load-path'.\nThe default is to use the \"tree-widget\" relative name." :type (choice (const :tag "Default" "tree-widget") (const :tag "Where is this library" nil) (directory :format "%{%t%}:\n%v")) :group tree-widget tree-widget-theme nil "Name of the theme in which to look for images.\nThis is a sub directory of the themes directory specified by the\n`tree-widget-themes-directory' option.\nThe default theme is \"default\". When an image is not found in a\ntheme, it is searched in its parent theme.\n\nA complete theme must at least contain images with these file names\nwith a supported extension (see also `tree-widget-image-formats'):\n\n\"guide\"\n A vertical guide line.\n\"no-guide\"\n An invisible vertical guide line.\n\"end-guide\"\n End of a vertical guide line.\n\"handle\"\n Horizontal guide line that joins the vertical guide line to an icon.\n\"no-handle\"\n An invisible handle.\n\nPlus images whose name is given by the :glyph-name property of the\nicon widgets used to draw the tree. By default these images are used:\n\n\"open\"\n Icon associated to an expanded tree.\n\"close\"\n Icon associated to a collapsed tree.\n\"empty\"\n Icon associated to an expanded tree with no child.\n\"leaf\"\n Icon associated to a leaf node." (choice (const :tag "Default" nil) (string :tag "Name")) tree-widget-image-properties-emacs '(:ascent center :mask (heuristic t)) "Default properties of Emacs images." plist tree-widget-image-properties-xemacs "Default properties of XEmacs images." tree-widget-space-width 0.5 "Amount of space between an icon image and a node widget.\nMust be a valid space :width display property." sexp defalias tree-widget-use-image-p #[nil "\205\n \205\n \302 \207" [tree-widget-image-enable widget-image-enable display-images-p] 1 "Return non-nil if image support is currently enabled."] put byte-optimizer byte-compile-inline-expand tree-widget-create-image #[(type file &optional props) "\303\304 \305\nBBB\"\207" [file type props apply create-image nil] 6 "Create an image of type TYPE from FILE, and return it.\nGive the image the specified properties PROPS."] tree-widget-image-formats #[nil "\301\302\303\304\"\"\207" [widget-image-conversion delq nil mapcar #[(fmt) "\301@!\205 \207" [fmt image-type-available-p] 2]] 5 "Return the alist of image formats/file name extensions.\nSee also the option `widget-image-conversion'."]] 8) (defvar tree-widget--theme nil) #@62 Return the current theme name, or nil if no theme is active. (defalias 'tree-widget-theme-name #[nil "\205 \301H@\207" [tree-widget--theme 0] 2 (#$ . 4741)]) (put 'tree-widget-theme-name 'byte-optimizer 'byte-compile-inline-expand) #@101 Set to NAME the parent theme of the current theme. The default parent theme is the "default" theme. (defalias 'tree-widget-set-parent-theme #[(name) " \302H\235?\205 \302\303 \302HC\"I\210\304\305\215\207" [name tree-widget--theme 0 append found (byte-code "\303 \304\211\205* @\305\n\"\306!\203\"