[137610] users/chunyang/helm-ls-svn.el/helm-ls-svn.el

chunyang at macports.org chunyang at macports.org
Mon Jun 15 05:18:34 PDT 2015


Revision: 137610
          https://trac.macports.org/changeset/137610
Author:   chunyang at macports.org
Date:     2015-06-15 05:18:33 -0700 (Mon, 15 Jun 2015)
Log Message:
-----------
users/chunyang: helm-ls-svn.el: helm-browse-project integration

Modified Paths:
--------------
    users/chunyang/helm-ls-svn.el/helm-ls-svn.el

Modified: users/chunyang/helm-ls-svn.el/helm-ls-svn.el
===================================================================
--- users/chunyang/helm-ls-svn.el/helm-ls-svn.el	2015-06-15 12:15:37 UTC (rev 137609)
+++ users/chunyang/helm-ls-svn.el/helm-ls-svn.el	2015-06-15 12:18:33 UTC (rev 137610)
@@ -56,13 +56,8 @@
 ;;
 ;; Bug report, suggestion and patch are welcome. Please email me (see above to
 ;; get my email address).
-;;
-;;
-;; TODO
-;; ====
-;;
-;; - `helm-browse-project' integration.
 
+
 ;;; Code:
 
 (require 'cl-lib)
@@ -81,7 +76,7 @@
   :group 'helm
   :link '(emacs-commentary-link :tag "commentary" "helm-ls-svn.el")
   :link '(emacs-library-link :tag "lisp file" "helm-ls-svn.el")
-  :link '(url-link :tag "web page" "https://svn.macports.org/repository/macports/users/chunyang/helm-ls-svn.el/"))
+  :link '(url-link :tag "MELPA" "http://melpa.org/#/helm-ls-svn"))
 
 (defcustom helm-ls-svn-status-command 'vc-dir
   "Favorite svn-status command for emacs."
@@ -236,10 +231,10 @@
                                     (helm-default-directory)))))))
 
 ;;;###autoload
-(defun helm-ls-svn-ls ()
-  (interactive)
-  (when (helm-ls-svn-not-inside-svn-repo)
-    (user-error "Not under a svn repository"))
+(defun helm-ls-svn-ls (&optional arg)
+  (interactive "p")
+  (and arg (helm-ls-svn-not-inside-svn-repo)
+       (user-error "Not under a svn repository"))
   (unless helm-source-ls-svn-buffers
     (setq helm-source-ls-svn-buffers
           (helm-make-source "Buffers in project" 'helm-source-buffers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150615/1d5ed23f/attachment.html>


More information about the macports-changes mailing list