Function: bib-apropos-keyword-at-point

bib-apropos-keyword-at-point is a byte-compiled function defined in bib-cite.el.

Signature

(bib-apropos-keyword-at-point)

Documentation

Return the keyword under point for initial input to bib-apropos prompt.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/bib-cite.el
;;--------------------------------------------------------------------------
;; Function for bib-apropos

(defun bib-apropos-keyword-at-point ()
  "Return the keyword under point for initial input to bib-apropos prompt."
  (save-excursion
    (let ((here (point)))
      (cond
       ((and (re-search-backward "[\n{, ]" nil t)
             (string-equal "{" (buffer-substring (match-beginning 0)
                                                 (match-end 0))))
        (buffer-substring-no-properties (1+ (point)) here))))))