?
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/info-xref.elc |
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:06:23 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/info-xref.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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (require 'info) #@101 Return non-nil if FILENAME is an Emacs lock file. A lock file is ".#foo.txt" etc per `lock-buffer'. (defalias 'info-xref-lock-file-p #[(filename) "\301\302\"\207" [filename string-match "\\(\\`\\|\\/\\)\\.#"] 3 (#$ . 569)]) #@259 Return t if FILENAME is an info subfile. If removing the last "-<NUM>" from the filename gives a file which exists, then consider FILENAME a subfile. This is an imperfect test, probably ought to open up the purported top file and see what subfiles it says. (defalias 'info-xref-subfile-p #[(filename) "\301\302\"\205 \303\304\305\"\304\306\"P!\207" [filename string-match "\\`\\(\\([^-]*-\\)*[^-]*\\)-[0-9]+\\(.*\\)\\'" file-exists-p match-string 1 3] 5 (#$ . 801)]) #@425 Evaluate BODY in a buffer containing the contents of FILENAME. If FILENAME is already in a buffer then that's used, otherwise a temporary buffer. The current implementation uses `insert-file-contents' rather than `find-file-noselect' so as not to be held up by queries about local variables or possible weirdness in a major mode. `lm-with-file' does a similar thing, but it sets `emacs-lisp-mode' which is not wanted here. (defalias 'info-xref-with-file '(macro . #[(filename &rest body) "\302\303D\304\305\306 BBD\307BB\310\311\312\313\314D\315BBFE\207" [filename body let* info-xref-with-file--filename info-xref-with-file--body lambda nil ((info-xref-with-file--existing (find-buffer-visiting info-xref-with-file--filename))) if info-xref-with-file--existing (with-current-buffer info-xref-with-file--existing (save-excursion (funcall info-xref-with-file--body))) with-temp-buffer insert-file-contents ((funcall info-xref-with-file--body))] 8 (#$ . 1280)])) (byte-code "\300\301\302\303#\210\300\301\304\305#\207" [put info-xref-with-file edebug-form-spec t lisp-indent-function 1] 4) #@43 Name of the buffer for info-xref results. (defconst info-xref-output-buffer "*info-xref results*" (#$ . 2377)) #@62 Count of good cross references, during info-xref processing. (defvar info-xref-good 0 (#$ . 2494)) #@61 Count of bad cross references, during info-xref processing. (defvar info-xref-bad 0 (#$ . 2599)) #@69 Count of unavailable cross references, during info-xref processing. (defvar info-xref-unavail 0 (#$ . 2702)) #@106 A heading string, during info-xref processing. This is shown if there's an error, but not if successful. (defvar info-xref-output-heading "" (#$ . 2818)) #@160 The current buffer's filename, during info-xref processing. When looking at file contents in a temp buffer there's no `buffer-file-name', hence this variable. (defvar info-xref-filename nil (#$ . 2979)) #@280 Info files found or not found, during info-xref processing. Key is "(foo)" etc and value nil or t according to whether info manual "(foo)" exists or not. This is used to suppress duplicate messages about foo not being available. (Duplicates within one top-level file that is.) (defvar info-xref-xfile-alist nil (#$ . 3189)) (defvar info-xref-in-progress nil) #@288 Run BODY with an info-xref output buffer. This is meant to nest, so you can wrap it around a set of different info-xref checks and have them write to the one output buffer created by the outermost `info-xref-with-output', with an overall good/bad count summary inserted at the very end. (defalias 'info-xref-with-output '(macro . #[(&rest body) "\301\302\303\304BB\305BBB\207" [body save-excursion (unless info-xref-in-progress (display-buffer (get-buffer-create info-xref-output-buffer)) (set-buffer info-xref-output-buffer) (setq buffer-read-only nil) (fundamental-mode) (erase-buffer) (insert ";; info-xref output -*- mode: compilation -*-\n\n") (compilation-mode) (setq info-xref-good 0 info-xref-bad 0 info-xref-unavail 0 info-xref-xfile-alist nil)) let ((info-xref-in-progress t) (info-xref-output-heading "")) ((unless info-xref-in-progress (info-xref-output "done, %d good, %d bad, %d unavailable" info-xref-good info-xref-bad info-xref-unavail)))] 5 (#$ . 3557)])) (put 'info-xref-with-output 'edebug-form-spec t) #@71 Emit a `format'-ed message FMT+ARGS to the `info-xref-output-buffer'. (defalias 'info-xref-output #[(fmt &rest args) "rq\210\212db\210\305\n\306\307\f#\310\261\210*\311\312\313!)\207" [info-xref-output-buffer inhibit-read-only info-xref-output-heading fmt args t apply format "\n" "" sit-for 0] 5 (#$ . 4587)]) (put 'info-xref-output 'byte-compile-format-like t) #@168 Emit a `format'-ed error FMT+ARGS to the `info-xref-output-buffer'. The error is attributed to `info-xref-filename' and the current buffer's line and column of point. (defalias 'info-xref-output-error #[(fmt &rest args) "\303\304\305P \306e\307 \"TiT\n&\207" [fmt info-xref-filename args apply info-xref-output "%s:%s:%s: " count-lines line-beginning-position] 7 (#$ . 4962)]) (put 'info-xref-output-error 'byte-compile-format-like t) #@52 Return t if it's possible to go to the given NODE. (defalias 'info-xref-goto-node-p #[(node) "p\212\302 \303\216\304\305\306\217p\232\204 \307 \210,\207" [oldbuf #1=#:wconfig current-window-configuration ((set-window-configuration #1#)) nil (byte-code "\301\302\303!\205\f \303q\210\304\"\210\305\207" [node Info-goto-node get-buffer "*info*" "xref - temporary" t] 4) ((error)) kill-buffer] 3 (#$ . 5405)]) (defalias 'info-xref-check-node #[(node) "\306\307\310\311\211%\312\313\"\204 \314\315\"\207\316\317\"\211\320\230\203&