Ypo <ypun...@gmail.com> writes: > I would like to customize the name of the heading. I think it should be > customized this function: "Org Bibtex Headline Format Function". > > Is there a guide to do this? > > I can see the default is: > > #[257 "\300.\236A\207" > [:title] > 3 "\n\n(fn ENTRY)"] >
That's a bit misleading because of compilation. The original code is (defcustom org-bibtex-headline-format-function (lambda (entry) (cdr (assq :title entry))) "Function returning the headline text for `org-bibtex-write'. It should take a single argument, the bibtex entry (an alist as returned by `org-bibtex-read'). The default value simply returns the entry title." :group 'org-bibtex :version "26.1" :package-version '(Org . "9.1") :type 'function) I should factor out that lambda into a separate readable function name, like `org-bibtex-headline-from-title'. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>