[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org-jami-bot 544bcdf40a 17/22: fix indentation
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org-jami-bot 544bcdf40a 17/22: fix indentation |
Date: |
Sun, 4 Feb 2024 09:58:52 -0500 (EST) |
branch: externals/org-jami-bot
commit 544bcdf40ad072d897a8707063e1f5a27324c984
Author: Hanno Perrey <hanno@hoowl.se>
Commit: Hanno Perrey <hanno@hoowl.se>
fix indentation
---
org-jami-bot.el | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/org-jami-bot.el b/org-jami-bot.el
index de97d21580..5423e2af9f 100644
--- a/org-jami-bot.el
+++ b/org-jami-bot.el
@@ -208,15 +208,15 @@ in CONVERSATION id for ACCOUNT id."
(lines (string-lines body))
;; use inactive timestamps
(timefmt (org-time-stamp-format 't 't)))
- (if (org-capture-string
- (format "* TODO %s\nSCHEDULED: %s\n:PROPERTIES:\n:CREATED:
%s\n:END:\n%s"
- (car lines)
- (format-time-string (car org-time-stamp-formats))
- (format-time-string timefmt)
- (string-join (cdr lines) "\n"))
- org-jami-bot-capture-key)
- "captured and scheduled!"
- "error during org-capture :(")))
+ (if (org-capture-string
+ (format "* TODO %s\nSCHEDULED: %s\n:PROPERTIES:\n:CREATED:
%s\n:END:\n%s"
+ (car lines)
+ (format-time-string (car org-time-stamp-formats))
+ (format-time-string timefmt)
+ (string-join (cdr lines) "\n"))
+ org-jami-bot-capture-key)
+ "captured and scheduled!"
+ "error during org-capture :(")))
(defun org-jami-bot--command-function-schedule (_account _conversation msg)
"Capture body as todo entry and schedule it on the date given after the
command.
@@ -230,16 +230,16 @@ confirmation. ACCOUNT and CONVERSATION are not used."
(lines (string-lines body))
(swhen (org-read-date nil nil (car lines)))
;; inactive timestamp
- (timefmt (org-time-stamp-format 't 't)))
+ (timefmt (org-time-stamp-format 't 't)))
(if (org-capture-string
(format "* TODO %s\nSCHEDULED: %s\n:PROPERTIES:\n:CREATED:
%s\n:END:\n%s"
(cadr lines)
swhen
(format-time-string timefmt)
(string-join (cdr lines) "\n"))
- org-jami-bot-capture-key)
- (format "captured and scheduled on %s!" swhen)
- "error during org-capture :(")))
+ org-jami-bot-capture-key)
+ (format "captured and scheduled on %s!" swhen)
+ "error during org-capture :(")))
(defun org-jami-bot-default-setup ()
"Set up `org-jami-bot' with default values.
- [elpa] externals/org-jami-bot 9417d2814d 18/22: make capture key variable customizable, (continued)
- [elpa] externals/org-jami-bot 9417d2814d 18/22: make capture key variable customizable, ELPA Syncer, 2024/02/04
- [elpa] externals/org-jami-bot aecf06f8f8 03/22: adds missing defvar, ELPA Syncer, 2024/02/04
- [elpa] externals/org-jami-bot be3d5fdd91 05/22: fixes flycheck warnings, ELPA Syncer, 2024/02/04
- [elpa] externals/org-jami-bot 76d6d76871 06/22: fixes typo in package description, ELPA Syncer, 2024/02/04
- [elpa] externals/org-jami-bot 36ab0cb49f 08/22: sharp-quote function names, ELPA Syncer, 2024/02/04
- [elpa] externals/org-jami-bot 4403a1a2d4 11/22: fix time stamp format, ELPA Syncer, 2024/02/04
- [elpa] externals/org-jami-bot 6d80549e9a 13/22: bump version string, ELPA Syncer, 2024/02/04
- [elpa] externals/org-jami-bot 70a063515a 14/22: assign copyright to FSF, ELPA Syncer, 2024/02/04
- [elpa] externals/org-jami-bot 2a95b6aa9d 15/22: style changes, ELPA Syncer, 2024/02/04
- [elpa] externals/org-jami-bot b1a780605f 16/22: add .elpaignore, ELPA Syncer, 2024/02/04
- [elpa] externals/org-jami-bot 544bcdf40a 17/22: fix indentation,
ELPA Syncer <=
- [elpa] externals/org-jami-bot 020b03f299 21/22: extend documentation, ELPA Syncer, 2024/02/04
- [elpa] externals/org-jami-bot dba915182c 22/22: add NEWS file, ELPA Syncer, 2024/02/04