diff options
author | Joost Kremers <joostkremers@fastmail.fm> | 2017-03-08 23:30:35 +0100 |
---|---|---|
committer | Joost Kremers <joostkremers@fastmail.fm> | 2017-03-08 23:30:35 +0100 |
commit | 7fabec1aaf6b9cf7c522379500302eceb9a2ac87 (patch) | |
tree | 4d4104bd5443652fe3cf5720dfad1cebf5120078 | |
parent | 63ea2b39fbebdfea5140f310e33234be5830c76a (diff) |
Extract entry key without text properties.
-rw-r--r-- | parsebib.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parsebib.el b/parsebib.el index fec8b07..6ae5ecc 100644 --- a/parsebib.el +++ b/parsebib.el @@ -189,7 +189,7 @@ POS can be a number or a marker and defaults to point." (when pos (goto-char pos)) (when (re-search-forward parsebib--entry-start nil 0) (if (parsebib--looking-at-goto-end (concat "\\(" parsebib--bibtex-identifier "\\)" "[[:space:]]*[\(\{]") 1) - (match-string 1) + (match-string-no-properties 1) (signal 'parsebib-entry-type-error (list (point)))))) (defun parsebib-read-comment (&optional pos) |