summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBasil L. Contovounesios <contovob@tcd.ie>2018-01-12 17:56:20 +0000
committerBasil L. Contovounesios <contovob@tcd.ie>2018-01-12 18:02:35 +0000
commitb29098460bea4d4f78b33dae1699e60a374d4561 (patch)
tree55248e825b77c4bb1c2c8bceb12af4508eea2d63
parenta7d1289dd7d9ef0b8dee1632533fbf16930f50d5 (diff)
downloadbog-b29098460bea4d4f78b33dae1699e60a374d4561.tar.gz
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.
-rw-r--r--README.org2
-rw-r--r--bog.el4
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)