Server IP : 111.118.215.189 / Your IP : 18.117.158.174 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/progmodes/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:09:32 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/progmodes/which-func.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@70 String to display in the mode line when current function is unknown. (defvar which-func-unknown "???" (#$ . 563)) (byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313\304\301\306\314\315\316& \210\310\317\302\320\304\301\315\321&\210\310\322\323\324\304\301\315\325&\207" [custom-declare-group which-func nil "Display the current function name in the mode line." :group tools :version "20.3" custom-declare-variable which-func-modes t "List of major modes for which Which Function mode should be used.\nFor other modes it is disabled. If this is equal to t,\nthen Which Function mode is enabled in any major mode that supports it." "24.3" :type (choice (const :tag "All modes" t) (repeat (symbol :tag "Major mode"))) which-func-non-auto-modes "List of major modes where Which Function mode is inactive till Imenu is used.\nThis means that Which Function mode won't really do anything\nuntil you use Imenu, in these modes. Note that files\nlarger than `which-func-maxout' behave in this way too;\nWhich Function mode doesn't do anything until you use Imenu." (repeat (symbol :tag "Major mode")) which-func-maxout 500000 "Don't automatically compute the Imenu menu if buffer is this big or bigger.\nZero means compute the Imenu menu regardless of size." integer] 10) #@44 Keymap to display on mode line which-func. (defvar which-func-keymap (byte-code "\301 \302\303\304#\210\302\305\306#\210\302\307\310#\210)\207" [map make-sparse-keymap define-key [mode-line mouse-1] beginning-of-defun [mode-line mouse-2] #[nil "e\300=\203 \301 \207~\207" [1 narrow-to-defun] 2 nil nil] [mode-line mouse-3] end-of-defun] 4) (#$ . 1852)) (byte-code "\300\301\302\303\304\301%\210\305\306\307\310\311\312\304\301\313\314& \207" [custom-declare-face which-func ((((class color) (min-colors 88) (background light)) :inherit font-lock-function-name-face) (((class grayscale mono) (background dark)) :inherit font-lock-function-name-face) (((class color) (background light)) :inherit font-lock-function-name-face) (((class color) (min-colors 88) (background dark)) :foreground "Blue1") (((background dark)) :foreground "Blue1") (t :foreground "LightSkyBlue")) "Face used to highlight mode line function names." :group custom-declare-variable which-func-format `("[" (:propertize which-func-current local-map ,which-func-keymap face which-func mouse-face mode-line-highlight help-echo "mouse-1: go to beginning\nmouse-2: toggle rest visibility\nmouse-3: go to end") "]") "Format for displaying the function in the mode line." :version "24.2" :type sexp] 10) #@236 Function to join together multiple levels of imenu nomenclature. Called with a single argument, a list of strings giving the names of the menus we had to traverse to get to the item. Returns a single string, the new name of the item. (defvar which-func-imenu-joiner-function #[(x) "\301!@\207" [x last] 2] (#$ . 3132)) #@487 Function to transform a string before displaying it in the mode line. The function is called with one argument, the string to display. Its return value is displayed in the mode line. If nil, no function is called. The default value is nil. This feature can be useful if Imenu is set up to make more detailed entries (e.g., containing the argument list of a function), and you want to simplify them for the mode line (e.g., removing the parameter list to just have the function name.) (defvar which-func-cleanup-function nil (#$ . 3460)) (require 'imenu) (defvar which-func-table (make-hash-table :test 'eq :weakness 'key)) (defconst which-func-current '(:eval (replace-regexp-in-string "%" "%%" (or (gethash (selected-window) which-func-table) which-func-unknown)))) #@125 Non-nil means display current function name in mode line. This makes a difference only if `which-function-mode' is non-nil. (defvar which-func-mode nil (#$ . 4236)) (byte-code "\300\301!\210\302\303\304\305#\207" [make-variable-buffer-local which-func-mode add-hook find-file-hook which-func-ff-hook t] 4) #@98 File find hook for Which Function mode. It creates the Imenu index for the buffer, if necessary. (defalias 'which-func-ff-hook #[nil "\205 \304=\206 \n \235\305\306\307\217\207" [which-function-mode which-func-modes major-mode which-func-mode t err (byte-code "\205\"