[elpa] scratch/gited 0e440ec: gited-mark-branches-by-date: Use less verbose default
branch: scratch/gited commit 0e440ec3ca38ae686ac9b771288181763112451b Author: Tino Calancha Commit: Tino Calancha gited-mark-branches-by-date: Use less verbose default * gited.el (gited-mark-branches-by-date): Format default date with ISO 8601, i.e. %F. --- packages/gited/gited.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/gited/gited.el b/packages/gited/gited.el index bd31b23..0a66f14 100644 --- a/packages/gited/gited.el +++ b/packages/gited/gited.el @@ -10,9 +10,9 @@ ;; Compatibility: GNU Emacs: 24.4 ;; Version: 0.2.0 ;; Package-Requires: ((emacs "24.4") (cl-lib "0.5")) -;; Last-Updated: Tue Jun 06 09:41:13 JST 2017 +;; Last-Updated: Tue Jun 06 20:00:22 JST 2017 ;; By: calancha -;; Update #: 641 +;; Update #: 642 ;; ;; @@ -2776,7 +2776,7 @@ MIN-TIME must be a string suitable for `date-to-time' like (let* ((prefix current-prefix-arg) ;; Default to 1 week before the last commit time in current row. (default (format-time-string -"%F %T" +"%F" (time-subtract (date-to-time (gited-get-date)) (* 7 24 60 60 (min-time (read-string (concat (if current-prefix-arg "Unmark" "Mark")
[elpa] scratch/gited d7eb144: gited-mark-branches-by-date: Provide defaults to HH:MM:SS.
branch: scratch/gited commit d7eb144e81c78f0f4d7c01d73cc427c9aef45f3f Author: Tino Calancha Commit: Tino Calancha gited-mark-branches-by-date: Provide defaults to HH:MM:SS. This avoid `encode-time' signals an error if one of HH, MM or SS is missing. * gited.el (gited-mark-branches-by-date): Default MM:MM:SS to 00:00:00. --- packages/gited/gited.el | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/packages/gited/gited.el b/packages/gited/gited.el index 0a66f14..648271e 100644 --- a/packages/gited/gited.el +++ b/packages/gited/gited.el @@ -10,9 +10,9 @@ ;; Compatibility: GNU Emacs: 24.4 ;; Version: 0.2.0 ;; Package-Requires: ((emacs "24.4") (cl-lib "0.5")) -;; Last-Updated: Tue Jun 06 20:00:22 JST 2017 +;; Last-Updated: Tue Jun 06 20:23:05 JST 2017 ;; By: calancha -;; Update #: 642 +;; Update #: 643 ;; ;; @@ -2783,11 +2783,18 @@ MIN-TIME must be a string suitable for `date-to-time' like " branches with last commit after time: ") default))) (list min-time (and prefix ?\s - (let ((gited-marker-char (or marker-char gited-marker-char))) + (let ((gited-marker-char (or marker-char gited-marker-char)) +(time (funcall (lambda (x) ; Default HH:MM:SS to 00:00:00. + (setq x (parse-time-string x)) + (or (car x) (setf (car x) 0)) + (or (cadr x) (setf (cadr x) 0)) + (or (cadr (cdr x)) (setf (cadr (cdr x)) 0)) + (apply 'encode-time x)) + min-time))) (gited-mark-if (and (not (eolp)) (let ((commit-time (date-to-time (gited-get-date -(time-less-p (date-to-time min-time) commit-time))) +(time-less-p time commit-time))) "matching branch"))) (defun gited-mark-branches-containing-regexp (regexp &optional marker-char days)
[elpa] master e885224: * nlinum.el: Bump version to 1.7
branch: master commit e885224c70f5fc03b23590304dd0fd21524d27e1 Author: Stefan Monnier Commit: Stefan Monnier * nlinum.el: Bump version to 1.7 --- packages/nlinum/nlinum.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/nlinum/nlinum.el b/packages/nlinum/nlinum.el index 358cad4..ca4f949 100644 --- a/packages/nlinum/nlinum.el +++ b/packages/nlinum/nlinum.el @@ -1,10 +1,10 @@ ;;; nlinum.el --- Show line numbers in the margin -*- lexical-binding: t -*- -;; Copyright (C) 2012, 2014, 2015, 2016 Free Software Foundation, Inc. +;; Copyright (C) 2012, 2014-2017 Free Software Foundation, Inc. ;; Author: Stefan Monnier ;; Keywords: convenience -;; Version: 1.6 +;; Version: 1.7 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ ;; - Add ability to highlight current line number. ;; - New custom variable `nlinum-highlight-current-line' and ;; face `nlinum-current-line'. +;; - New `nlinum' group in Custom. ;; v1.3: ;; - New custom variable `nlinum-format'.