diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-08-13 00:23:08 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-08-13 00:23:08 -0400 |
commit | ffc15b9138b66c1f00284181a4ef9eeaf9c3ac06 (patch) | |
tree | 3a0f93931ff5e1efe06e5f13b49799ceb8808f97 /bog.el | |
parent | 2df81a94b718544b8c621d59ce84bdca35d18ae6 (diff) | |
download | bog-ffc15b9138b66c1f00284181a4ef9eeaf9c3ac06.tar.gz |
bog-citekey-p: Use string, not line, bounds
Diffstat (limited to 'bog.el')
-rw-r--r-- | bog.el | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -357,7 +357,7 @@ word constituents." (defun bog-citekey-p (text) "Return non-nil if TEXT matches `bog-citekey-format'." (let (case-fold-search) - (string-match-p (format "^%s$" bog-citekey-format) text))) + (string-match-p (format "\\`%s\\'" bog-citekey-format) text))) (defun bog-all-citekeys () "Return all citekeys in notes." |