Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion citar-file.el
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ SEPCHAR."
(goto-char (point-min))
(while (progn (skip-chars-forward skip) (not (eobp)))
(if (= ?\\ (following-char))
(ignore-error 'end-of-buffer (forward-char 2))
(ignore-error end-of-buffer (forward-char 2))
(push (delete-and-extract-region (point-min) (point)) strings)
(delete-char 1)))
(push (buffer-string) strings))
Expand Down
7 changes: 3 additions & 4 deletions citar.el
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
(require 'subr-x))
(require 'seq)
(require 'map)
(require 'bibtex)
(require 'browse-url)
(require 'citar-cache)
(require 'citar-format)
Expand Down Expand Up @@ -196,16 +197,14 @@ references as a string."

(defcustom citar-display-transform-functions
;; TODO change this name, as it might be confusing?
`((sn . (citar--shorten-names))
'((sn . (citar--shorten-names))
(etal . (citar--shorten-names 3 "&")))
"Configure transformation of field display values from raw values.

When the car symbol is associated with a field, run the cdr function
and optional arguments on the string value."
:group 'citar
:type '(alist :key-type symbol
;; REVIEW is this OK for now?
:value-type list))
:type '(alist :key-type symbol :value-type sexp))

;; Indicator defstruct

Expand Down
Loading