summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/inline.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2018-10-08 22:33:22 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2018-10-08 22:33:22 -0400
commit333f0bfe766185c66952c6fbd4796c6bb97c868d (patch)
tree0fc63cae1bac3c940ba388ea73522c96d8093c8c /lisp/emacs-lisp/inline.el
parentcf1ebfa055fcd0749aa4ed2fc4c399470b9eb3de (diff)
downloademacs-333f0bfe766185c66952c6fbd4796c6bb97c868d.tar.gz
emacs-333f0bfe766185c66952c6fbd4796c6bb97c868d.tar.bz2
emacs-333f0bfe766185c66952c6fbd4796c6bb97c868d.zip
* lisp/calendar/timeclock.el: Use lexical-binding
Require cl-lib. Remove redundant :group args. (timeclock-status-string): Avoid 'setq'. (timeclock-ask-for-project, timeclock-ask-for-reason): Completionu tables can be simple lists of strings. (timeclock-read-moment): Doesn't deserve to be defsubst (most of the others don't either, admittedly). (timeclock-entry): New type. (timeclock-entry-begin, timeclock-entry-end, timeclock-entry-project) (timeclock-entry-comment): Define via 'cl-defstruct'. (timeclock-entry-list-projects, timeclock-day-list-projects): Avoid add-to-list on lexical vars. (timeclock-day-list): Use 'push'. (timeclock-log-data): Use 'pcase'. (timeclock-mean): Simplify. (timeclock-generate-report): Use dotimes.
Diffstat (limited to 'lisp/emacs-lisp/inline.el')
0 files changed, 0 insertions, 0 deletions