;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\305\306!\210\305\307!\210\305\310!\210\305\311!\210\312\313\211\313\314:\203A@\315\316 P!\315\317 P!\320 \n\"\210\321\n \322#\210A\313\202-\323\324\314\325\326\327\330\331&\210\332\313\333\334#\207" [#:--cl-var-- var oldvar newvar #:--cl-var-- require helm helm-net helm-easymenu bibtex-completion ("bibliography" "library-path" "pdf-open-function" "pdf-symbol" "format-citation-functions" "notes-path" "notes-template-multiple-files" "notes-template-one-file" "notes-key-pattern" "notes-extension" "notes-symbol" "fallback-options" "browser-function" "additional-search-fields" "no-export-fields" "cite-commands" "cite-default-command" "cite-prompt-for-optional-arguments" "cite-default-as-initial-input" "pdf-field") nil t intern "helm-bibtex-" "bibtex-completion-" defvaralias make-obsolete-variable "2016-03-20" custom-declare-variable helm-bibtex-full-frame "Non-nil means open `helm-bibtex' using the entire window. When\nnil, the window will split below." :group helm-bibtex :type boolean easy-menu-add-item ("Tools" "Helm" "Tools") ["BibTeX" helm-bibtex t]] 9) (defalias 'helm-bibtex-window-width #[nil "\301 \203\203\302\303\304\"\305U\204\302\303\306\"\305U\204\307 \207\307 S\207" [overflow-newline-into-fringe display-graphic-p frame-parameter nil left-fringe 0 right-fringe window-body-width] 3]) (defalias 'helm-bibtex-candidates-formatter #[(candidates _) "\303\304 !r\305\216\306@\307\"\210\310 +\311\n \")\207" [save-selected-window--state width candidates internal--before-with-selected-window helm-window #[nil "\301!\207" [save-selected-window--state internal--after-with-selected-window] 2] select-window norecord helm-bibtex-window-width bibtex-completion-candidates-formatter] 3]) #@221 Wraps the function ACTION in another function named NAME which passes the candidates marked in helm to ACTION. Also uses with-helm-current-buffer such that when ACTION inserts text and it comes out in the right buffer. (defalias 'helm-bibtex-helmify-action '(macro . #[(action name) "\302\303\304\305\306 \307BDEF\207" [name action defun (_) let ((keys (helm-marked-candidates :with-wildcard t))) with-helm-current-buffer (keys)] 8 (#$ . 1835)])) (defalias 'helm-bibtex-open-pdf #[(_) "\302\303\304\"r\305 !\203 \206p\211q\210\306!*\207" [keys helm-current-buffer helm-marked-candidates :with-wildcard t buffer-live-p bibtex-completion-open-pdf] 3]) (defalias 'helm-bibtex-open-url-or-doi #[(_) "\302\303\304\"r\305 !\203 \206p\211q\210\306!*\207" [keys helm-current-buffer helm-marked-candidates :with-wildcard t buffer-live-p bibtex-completion-open-url-or-doi] 3]) (defalias 'helm-bibtex-insert-citation #[(_) "\302\303\304\"r\305 !\203 \206p\211q\210\306!*\207" [keys helm-current-buffer helm-marked-candidates :with-wildcard t buffer-live-p bibtex-completion-insert-citation] 3]) (defalias 'helm-bibtex-insert-reference #[(_) "\302\303\304\"r\305 !\203 \206p\211q\210\306!*\207" [keys helm-current-buffer helm-marked-candidates :with-wildcard t buffer-live-p bibtex-completion-insert-reference] 3]) (defalias 'helm-bibtex-insert-key #[(_) "\302\303\304\"r\305 !\203 \206p\211q\210\306!*\207" [keys helm-current-buffer helm-marked-candidates :with-wildcard t buffer-live-p bibtex-completion-insert-key] 3]) (defalias 'helm-bibtex-insert-bibtex #[(_) "\302\303\304\"r\305 !\203 \206p\211q\210\306!*\207" [keys helm-current-buffer helm-marked-candidates :with-wildcard t buffer-live-p bibtex-completion-insert-bibtex] 3]) (defalias 'helm-bibtex-add-PDF-attachment #[(_) "\302\303\304\"r\305 !\203 \206p\211q\210\306!*\207" [keys helm-current-buffer helm-marked-candidates :with-wildcard t buffer-live-p bibtex-completion-add-PDF-attachment] 3]) #@39 Source for searching in BibTeX files. (defvar helm-source-bibtex (byte-code "\300\301\302\303\304\305\306\307\310\311\312\313\314\315\316\317\320\321\322\323\324\325\326\327\330\331\332\333\334&&\n\207" [helm-make-source "BibTeX entries" helm-source-sync :init bibtex-completion-init :candidates bibtex-completion-candidates :filtered-candidate-transformer helm-bibtex-candidates-formatter :action helm-make-actions "Open PDF file (if present)" helm-bibtex-open-pdf "Open URL or DOI in browser" helm-bibtex-open-url-or-doi "Insert citation" helm-bibtex-insert-citation "Insert reference" helm-bibtex-insert-reference "Insert BibTeX key" helm-bibtex-insert-key "Insert BibTeX entry" helm-bibtex-insert-bibtex "Attach PDF to email" helm-bibtex-add-PDF-attachment "Edit notes" bibtex-completion-edit-notes "Show entry" bibtex-completion-show-entry] 29) (#$ . 3838)) #@28 Source for online look-up. (defvar helm-source-fallback-options '((name . "Fallback options") (match (lambda (_candidate) t)) (candidates . bibtex-completion-fallback-candidates) (no-matchplugin) (nohighlight) (action . bibtex-completion-fallback-action)) (#$ . 4708)) #@98 Search BibTeX entries. With a prefix ARG, the cache is invalidated and the bibliography reread. (defalias 'helm-bibtex #[(&optional arg) "\203\305\306\307\n D\310\f\311\312\313\314&\207" [arg bibtex-completion-bibliography-hash helm-source-bibtex helm-source-fallback-options helm-bibtex-full-frame "" helm :sources :full-frame :buffer "*helm bibtex*" :candidate-number-limit 500] 9 (#$ . 4983) "P"]) (provide 'helm-bibtex)