Server IP : 111.118.215.189 / Your IP : 18.116.170.100 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/obsolete/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:09:10 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/obsolete/sym-comp.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@117 Default `symbol-completion-symbol-function'. Uses `current-word' with the buffer narrowed to the part before point. (defalias 'symbol-completion-symbol #[nil "\214e`}\210\300 )\207" [current-word] 2 (#$ . 561)]) #@421 Function to return a partial symbol before point for completion. The value it returns should be a string (or nil). Major modes may set this locally if the default isn't appropriate. Beware: the length of the string STR returned need to be equal to the length of text before point that's subject to completion. Typically, this amounts to saying that STR is equal to (buffer-substring (- (point) (length STR)) (point)). (defvar symbol-completion-symbol-function 'symbol-completion-symbol (#$ . 780)) #@513 Function to return possible symbol completions. It takes an argument which is the string to be completed and returns a value suitable for the second argument of `try-completion'. This value need not use the argument, i.e. it may be all possible completions, such as `obarray' in the case of Emacs Lisp. Major modes may set this locally to allow them to support `symbol-complete'. See also `symbol-completion-symbol-function', `symbol-completion-predicate-function' and `symbol-completion-transform-function'. (defvar symbol-completion-completions-function nil (#$ . 1287)) #@474 If non-nil, function to return a predicate for selecting symbol completions. The function gets two args, the positions of the beginning and end of the symbol to be completed. Major modes may set this locally if the default isn't appropriate. This is a function returning a predicate so that the predicate can be context-dependent, e.g. to select only function names if point is at a function call position. The function's args may be useful for determining the context. (defvar symbol-completion-predicate-function nil (#$ . 1870)) #@527 If non-nil, function to transform symbols in the symbol-completion buffer. E.g., for Lisp, it may annotate the symbol as being a function, not a variable. The function takes the symbol name as argument. If it needs to annotate this, it should return a value suitable as an element of the list passed to `display-completion-list'. The predicate being used for selecting completions (from `symbol-completion-predicate-function') is available dynamically-bound as `symbol-completion-predicate' in case the transform needs it. (defvar symbol-completion-transform-function nil (#$ . 2412)) #@669 Perform completion of the symbol preceding point. This is done in a way appropriate to the current major mode, perhaps by interrogating an inferior interpreter. Compare `complete-symbol'. If no characters can be completed, display a list of possible completions. Repeating the command at that point scrolls the list. When called from a program, optional arg PREDICATE is a predicate determining which symbols are considered. This function requires `symbol-completion-completions-function' to be set buffer-locally. Variables `symbol-completion-symbol-function', `symbol-completion-predicate-function' and `symbol-completion-transform-function' are also consulted. (defalias 'symbol-complete #[(&optional predicate) "\306!\204\n \307\310!\210 \206 \307\311!\206\"