From b29098460bea4d4f78b33dae1699e60a374d4561 Mon Sep 17 00:00:00 2001 From: "Basil L. Contovounesios" Date: Fri, 12 Jan 2018 17:56:20 +0000 Subject: Typo fix and minor aesthetics Suggest the equivalent 'infty in place of nil for bibtex-autokey-titleword-length as per the variable's custom-type. --- README.org | 2 +- bog.el | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 5af341e..7bc2d88 100644 --- a/README.org +++ b/README.org @@ -50,7 +50,7 @@ settings can be modified. #+begin_src emacs-lisp (setq bibtex-autokey-year-length 4 - bibtex-autokey-titleword-length nil + bibtex-autokey-titleword-length 'infty bibtex-autokey-titlewords-stretch 0 bibtex-autokey-titlewords 1 bibtex-autokey-year-title-separator "") diff --git a/bog.el b/bog.el index 755bcb9..84a94c9 100644 --- a/bog.el +++ b/bog.el @@ -80,7 +80,7 @@ settings: :type 'regexp) (defcustom bog-citekey-format-allow-at t - "Treat '@' as a word charcter, as it is in Org mode. + "Treat '@' as a word character, as it is in Org mode. If this value is nil, Bog functions treat '@' as a punctuation character, which allows them to work on Pandoc's @citekey format. @@ -1245,7 +1245,7 @@ nil, use ?a. The level to sort is determined by Unlike `bog-sort-topic-headings-in-buffer', sort topic headings in all note files." (interactive) - (org-map-entries (lambda () (bog-sort-if-topic-header sorting-type)) + (org-map-entries (lambda () (bog-sort-if-topic-header sorting-type)) nil (bog-notes))) (defun bog-sort-if-topic-header (sorting-type) -- cgit v1.2.3