# HG changeset patch # User Zachary Kanfer # Date 1406351220 14400 # Sat Jul 26 01:07:00 2014 -0400 # Node ID ba5484609bdfddd813424dd19a52a35458910a70 # Parent d235b7383d11dea47c7f63bf8a6b32bfdeb206bf Ah, we can require cl-lib, and flycheck is ok with that. diff --git a/2048-game.el b/2048-game.el --- a/2048-game.el +++ b/2048-game.el @@ -62,6 +62,8 @@ (2048-mode) (2048-init)) +(require 'cl-lib) + (defvar *2048-board* nil "The board itself. @@ -307,7 +309,7 @@ This item should have score SCORE, the highest tile reached as HI-TILE, and be completed at time TIME." - (setq *2048-history* (sort* (cons (list *2048-score* *2048-hi-tile* + (setq *2048-history* (cl-sort (cons (list *2048-score* *2048-hi-tile* (format-time-string "%Y-%m-%d %H:%M:%S" (or time (current-time)))) *2048-history*)