emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] scratch/gited aef206c: gited-update: Don't overwrite `tabulated-l


From: Tino Calancha
Subject: [elpa] scratch/gited aef206c: gited-update: Don't overwrite `tabulated-list-sort-key'
Date: Sat, 3 Jun 2017 23:12:44 -0400 (EDT)

branch: scratch/gited
commit aef206c0e4808c1d9eb2e06fd784bbc74de93c0f
Author: Tino Calancha <address@hidden>
Commit: Tino Calancha <address@hidden>

    gited-update: Don't overwrite `tabulated-list-sort-key'
    
    * gited.el (gited-mode): Initialize `tabulated-list-sort-key' only when
    is nil.
---
 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 0f91912..9bb18a2 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: Fri Jun 02 15:53:47 JST 2017
+;; Last-Updated: Sun Jun 04 12:00:04 JST 2017
 ;;           By: calancha
-;;     Update #: 636
+;;     Update #: 637
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
@@ -3236,7 +3236,7 @@ Mode to edit Git branches as Dired."
   (gited--list-format-init)
   (setq tabulated-list-format gited-list-format)
   (add-hook 'tabulated-list-revert-hook 'gited-tabulated-list-entries nil t)
-  (setq tabulated-list-sort-key '("Date")))
+  (setq tabulated-list-sort-key (or tabulated-list-sort-key '("Date"))))
 
 
 (provide 'gited)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]