[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:
- [nongnu] elpa/mentor updated (bd51a02ccb -> 88ef7deabd), ELPA Syncer, 2022/10/30
- [nongnu] elpa/mentor 291ba7fd29 5/6: Rename functions for namespacing,
ELPA Syncer <=
- [nongnu] elpa/mentor 1481f811ab 4/6: Clean up mentor-trackers.el, and add new binds/commands, ELPA Syncer, 2022/10/30
- [nongnu] elpa/mentor 89548f9589 1/6: Improve README section on installing, ELPA Syncer, 2022/10/30
- [nongnu] elpa/mentor 88ef7deabd 6/6: Fix typo in README, ELPA Syncer, 2022/10/30
- [nongnu] elpa/mentor f9c4a52db1 3/6: Change files to trackers, ELPA Syncer, 2022/10/30
- [nongnu] elpa/mentor cc51ee55c9 2/6: Add mentor-tracker-mode to view torrents tracker information, ELPA Syncer, 2022/10/30