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

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

[nongnu] elpa/mentor 291ba7fd29 5/6: Rename functions for namespacing


From: ELPA Syncer
Subject: [nongnu] elpa/mentor 291ba7fd29 5/6: Rename functions for namespacing
Date: Sun, 30 Oct 2022 12:58:57 -0400 (EDT)

branch: elpa/mentor
commit 291ba7fd29aabcadb584feddc0b3ae4120713209
Author: FrozenPigs <frozenpigs@cock.li>
Commit: Stefan Kangas <stefankangas@gmail.com>

    Rename functions for namespacing
---
 mentor-trackers.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/mentor-trackers.el b/mentor-trackers.el
index 06eb72a86b..7ae843819b 100644
--- a/mentor-trackers.el
+++ b/mentor-trackers.el
@@ -35,7 +35,7 @@
 (declare-function mentor-item-property "mentor.el")
 (declare-function mentor-get-item-at-point "mentor-data.el")
 (declare-function mentor-rpc-command "mentor-rpc.el")
-(define-key mentor-mode-map (kbd "T") 'mentor-open-tracker-view-at-point)
+(define-key mentor-mode-map (kbd "T") 'mentor-tracker-open-view-at-point)
 
 (setq mentor-tracker-rpc-t-methods
       '("t.url="
@@ -76,7 +76,7 @@
                 (mentor-item-property 'name mentor-tracker-selected-download)))
   (mentor-tracker-refresh))
 
-(defun princ-to-string (x)
+(defun mentor-princ-to-string (x)
   "Convert to X string."
   (with-output-to-string (princ x)))
 
@@ -124,7 +124,7 @@
   (tabulated-list-init-header)
   (tabulated-list-print t))
 
-(defun mentor-open-tracker-view-at-point ()
+(defun mentor-tracker-open-view-at-point ()
   "Opens the tracker view for the torrent at point."
   (interactive)
   (setq mentor-tracker--hash (mentor-item-property 'hash))
@@ -141,9 +141,9 @@
     (dolist (tracker-info tracker-list)
       (if tabulated-list-entries
           (setq tabulated-list-entries
-                (append tabulated-list-entries `((,id ,(cl-map 'vector 
'princ-to-string  tracker-info)))))
+                (append tabulated-list-entries `((,id ,(cl-map 'vector 
'mentor-princ-to-string  tracker-info)))))
         (setq tabulated-list-entries
-              `((,id ,(cl-map 'vector 'princ-to-string  tracker-info)))))
+              `((,id ,(cl-map 'vector 'mentor-princ-to-string  
tracker-info)))))
       (setq id (1+ id)))))
 
 ;; Local Variables:



reply via email to

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