[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/tmr 0dfe4e4dbf 1/3: Add "list timers" alias for tabulat
From: |
ELPA Syncer |
Subject: |
[elpa] externals/tmr 0dfe4e4dbf 1/3: Add "list timers" alias for tabulated view |
Date: |
Mon, 26 Dec 2022 11:58:39 -0500 (EST) |
branch: externals/tmr
commit 0dfe4e4dbf6c3a051161d11c88f3fda8870ca823
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Add "list timers" alias for tabulated view
---
README.org | 3 ++-
tmr-tabulated.el | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/README.org b/README.org
index 2ba0b04282..b3a7199530 100644
--- a/README.org
+++ b/README.org
@@ -173,7 +173,8 @@ bind individual commands to the desired keys
([[#h:69eeb3fb-f11d-431e-ae16-2d9b3
#+cindex: About tmr-tabulated and relevant commands
#+findex: tmr-tabulated-view
-Timers can be viewed in a grid with ~tmr-tabulated-view~. The data is
+Timers can be viewed in a grid with ~tmr-tabulated-view~ (alias
+~tmr-list-timers~ as part of {{{development-version}}}). The data is
placed in the =*tmr-tabulated-view*= buffer and looks like this:
#+begin_example
diff --git a/tmr-tabulated.el b/tmr-tabulated.el
index 66cce311c0..3ab8d50da9 100644
--- a/tmr-tabulated.el
+++ b/tmr-tabulated.el
@@ -45,6 +45,9 @@
(switch-to-buffer (get-buffer-create "*tmr-tabulated-view*"))
(tmr-tabulated-mode))
+(defalias 'tmr-list-timers 'tmr-tabulated-view
+ "Alias of `tmr-tabulated-view' command.")
+
(defun tmr-tabulated--set-entries ()
"Set the value of `tabulated-list-entries' with timers."
(setq-local tabulated-list-entries