[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/workroom 4dbc8b5822 69/74: Fix code injection to desktop f
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/workroom 4dbc8b5822 69/74: Fix code injection to desktop file |
Date: |
Sun, 27 Nov 2022 16:03:30 -0500 (EST) |
branch: elpa/workroom
commit 4dbc8b58227b57e909e76da43a06bd21d35ca9cc
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
Fix code injection to desktop file
---
workroom.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/workroom.el b/workroom.el
index 8e020c9926..f9f6a14fe2 100644
--- a/workroom.el
+++ b/workroom.el
@@ -1766,7 +1766,8 @@ any previous bookmark with the same name."
(when workroom-mode
(insert
"
-;; Workroom section:"
+;; Workroom section:
+"
(let ((fn-sym (intern (format "workroom--desktop-restore-%s"
(format-time-string "%s%N")))))
(prin1-to-string
@@ -1774,6 +1775,7 @@ any previous bookmark with the same name."
(defun ,fn-sym ()
"Restore workrooms."
(remove-hook 'desktop-after-read-hook #',fn-sym)
+ (fmakunbound #',fn-sym)
(when (bound-and-true-p workroom-mode)
(workroom--desktop-restore
',(list
- [nongnu] elpa/workroom e1092127bd 19/74: Add hook for buffer list change, (continued)
- [nongnu] elpa/workroom e1092127bd 19/74: Add hook for buffer list change, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom d4c499d81f 23/74: Fix the creation invalid workrooms in workroom-switch, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 92866534e9 25/74: Make lines less longer than 75 characters in README, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom e9637846b5 27/74: Rewrite workroom to fix some long-standing problems, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom df98158320 54/74: Bump version to 2.0.3, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom b81e76e0a3 48/74: Bump version to 2.0.1, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 9db06cc7e7 46/74: Bump version to 2.0, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 5def9e5862 73/74: Ignore texinfo.tex while preparing release, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 827dcd2049 55/74: Fix cloning default workroom, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 895b77f7ce 62/74: Some refactoring, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 4dbc8b5822 69/74: Fix code injection to desktop file,
ELPA Syncer <=
- [nongnu] elpa/workroom 23ff6f463e 53/74: Don't fail to restore if the workroom project is non-existant, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom a1f5cc9754 52/74: Make the workroom custom group part of tools group, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 3b7b17e2cc 72/74: Bump version to 2.2.4, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom c50e7219a0 07/74: Make README Codeberg compatible, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 31eabf2547 21/74: Add some comments for explaining the code, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 64b465093e 20/74: Make line no more wide than 75 characters, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 6d159a5566 24/74: Use `string=' to compare workroom and view names, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom a4845ad57f 44/74: Don't switch room in workroom-switch if ROOM is current, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom 4c4fd7830c 34/74: Add Winner integration, ELPA Syncer, 2022/11/27
- [nongnu] elpa/workroom e7dc14236e 42/74: Fix out of sync documentation, ELPA Syncer, 2022/11/27