Skip to content

Commit

Permalink
elx-licensee: Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
tarsius committed Jun 15, 2018
1 parent cf1000f commit d817429
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions elx.el
Original file line number Diff line number Diff line change
Expand Up @@ -551,8 +551,9 @@ An effort is made to normalize the returned value."
"Permission to use, copy, modify,? and\\(/or\\)? distribute")
(setq license
(if (match-beginning 1) "ISC (and/or)" "ISC (and)"))))
(or (cdr (assoc license elx-licensee-abbreviation-alist))
(and (not (equal license "")) license))))
(if-let ((elt (assoc license elx-licensee-abbreviation-alist)))
(cdr elt)
(and (not (equal license "")) license))))

(defcustom elx-license-url-alist
'(("GPL-3" . "http://www.fsf.org/licensing/licenses/gpl.html")
Expand Down

0 comments on commit d817429

Please sign in to comment.