]> git.eshelyaron.com Git - emacs.git/commit
* lisp/midnight.el: Make it a minor mode. Allow predicates.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 27 Apr 2015 23:07:51 +0000 (19:07 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 27 Apr 2015 23:07:51 +0000 (19:07 -0400)
commitc603274f264d550bbae6b0b5c906dfebb78c7eb3
tree3e1aea23518398f21476031664cf5f987e8cbd57
parent66fec8bec4a7333b3d1c6d58b046a62b50bde3d2
* lisp/midnight.el: Make it a minor mode.  Allow predicates.

* lisp/midnight.el: Use lexical-binding.
(midnight-mode): Make it a proper minor mode.
(midnight-buffer-display-time): Make arg non-optional.
(midnight-find): Remove.
(clean-buffer-list-kill-never-regexps)
(clean-buffer-list-kill-regexps): Tweak type for new function choice.
(clean-buffer-list-delay): Allow clean-buffer-list-kill-regexps to
contain functions.
(clean-buffer-list): Use cl-find.
Allow clean-buffer-list-kill-never-regexps to contain functions.
etc/NEWS
lisp/midnight.el