%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/ |
Current File : //usr/local/share/emacs/27.2/lisp/tree-widget.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; 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\316DD\317\320\321\306\322&\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 funcall function #[0 "\300\207" [t] 1] "Non-nil means that tree-widget will try to use images." :type boolean "27.1"] 8) #@359 List of locations in which to search for the themes sub-directory. Each element is an expression that 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'. (defvar tree-widget-themes-load-path '(load-path (let ((dir data-directory)) (and dir (list dir (expand-file-name "images" dir))))) (#$ . 831)) (byte-code "\300\301\302\303\304DD\305\306\307%\210\300\310\302\303\311DD\312\306\313%\210\300\314\302\303\315DD\316\306\317%\210\300\320\302\303\321DD\322\306\323%\207" [custom-declare-variable tree-widget-themes-directory funcall function #[0 "\300\207" [#1="tree-widget"] 1 #1#] "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")) tree-widget-theme #[0 "\300\207" [nil] 1] "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 #[0 "\300\207" [(:ascent center :mask (heuristic t))] 1] "Default properties of Emacs images." plist tree-widget-space-width #[0 "\300\207" [0.5] 1] "Amount of space between an icon image and a node widget.\nMust be a valid space :width display property.\nSee Info node `(elisp)Specified Space'." (choice (number :tag "Multiple of normal character width") sexp)] 6) #@55 Return non-nil if image support is currently enabled. (defalias 'tree-widget-use-image-p #[0 "\205\n \205\n \302 \207" [tree-widget-image-enable widget-image-enable display-images-p] 1 (#$ . 3594)]) (put 'tree-widget-use-image-p 'byte-optimizer 'byte-compile-inline-expand) #@135 Create an image of type TYPE from FILE, and return it. Give the image the specified properties PROPS. (fn TYPE FILE &optional PROPS) (defalias 'tree-widget-create-image #[770 "\300\301\302BBB\"\207" [apply create-image nil] 9 (#$ . 3877)]) (byte-code "\300\301\302\303#\210\304\301\305\306#\207" [make-obsolete tree-widget-create-image create-image "27.1" put byte-optimizer byte-compile-inline-expand] 4) #@104 Return the alist of image formats/file name extensions. See also the option `widget-image-conversion'. (defalias 'tree-widget-image-formats #[0 "\301\302\303\304\"\"\207" [widget-image-conversion delq nil mapcar #[257 "\300@!\205 \211\207" [image-type-available-p] 3 "\n\n(fn FMT)"]] 5 (#$ . 4294)]) (put 'tree-widget-image-formats 'byte-optimizer 'byte-compile-inline-expand) (defvar tree-widget--theme nil) #@62 Return the current theme name, or nil if no theme is active. (defalias 'tree-widget-theme-name #[0 "\205 \301H@\207" [tree-widget--theme 0] 2 (#$ . 4712)]) (put 'tree-widget-theme-name 'byte-optimizer 'byte-compile-inline-expand) #@112 Set to NAME the parent theme of the current theme. The default parent theme is the "default" theme. (fn NAME) (defalias 'tree-widget-set-parent-theme #[257 "\211\301H\235?\205A \301\302\301HC\"I\210\3032A \304 \211\205>