Skip to content

Commit

Permalink
Remove sorting on normalize-paths; not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
bdarcus committed Aug 4, 2021
1 parent c69c37a commit d3dffb2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bibtex-actions.el
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,7 @@ offering the selection candidates"

(defun bibtex-actions--normalize-paths (file-paths)
"Return a list of FILE-PATHS sorted and normalized with truename."
(cl-sort
(delete-dups
(mapcar (lambda (p) (file-truename p)) file-paths)) 'string-lessp))
(delete-dups (mapcar (lambda (p) (file-truename p)) file-paths)))

(defun bibtex-actions--local-files-to-cache ()
"The local bibliographic files not included in the global bibliography."
Expand Down

0 comments on commit d3dffb2

Please sign in to comment.