Closed sam-s closed 5 years ago
Thanks for the PR. I think overzealous checks are keeping this from passing on travis - anyway I agree it's a good move to use cl-* functions and default to lexical binding (never could wrap my head around code that uses dynamic binding anyway).
You are using emacs 27.0.50 (i.e. the current dev vesion) right? It might take me a bit, but let me figure out what the hang-up is with emacs 25.x and 26.x before working on merging this in.
Indeed, I am using the dev version. Thank you for your receptiveness on this matter. The patch turned out much larger (and took a lot more time and effort) than I expected. ;-)
@sam-s thanks again for the PR. I merged in these changes with PR #596 as there were a couple additional tweaks needed to get everything kosher under travis. Cheers.
Replace
defun*' with
cl-defun',loop' with
cl-loop',case' with
cl-case',assert' with
cl-assert',destructuring-bind' with
cl-destructuring-bind',multiple-value-bind' with
cl-multiple-value-bind',equalp
withcl-equalp
,defstruct' with
cl-defstruct` &c &c &c Use lexical-binding instead of lexical-let. Add declarations and defvar to avoid breakage.