1
0
mirror of https://codeberg.org/cage/tinmop/ synced 2025-02-17 08:10:36 +01:00

- lowered permancence of notification when updating timelines;

- fixed managing of editor arguments.
This commit is contained in:
cage 2020-09-18 21:43:13 +02:00
parent 07611936c0
commit 13cb2e810e
2 changed files with 13 additions and 10 deletions

View File

@ -67,14 +67,17 @@
(defun open-with-editor (file)
(multiple-value-bind (exe args)
(external-editor)
(sb-ext:run-program exe
(append (list args)
(list file))
:search t
:wait t
:input t
:output t
:error t)))
(let ((actual-args (if args
(list args)
nil)))
(sb-ext:run-program exe
(append actual-args
(list file))
:search t
:wait t
:input t
:output t
:error t))))
(defun exit-program (&optional (exit-code 0))
(uiop:quit exit-code))

View File

@ -585,11 +585,11 @@ and if fetch local (again, to server) statuses only."
(let ((event (make-instance 'function-event :payload event-payload-function)))
(notify (_ "Downloading messages.")
:priority +maximum-event-priority+
:life (* (swconf:config-notification-life) 5))
:life (swconf:config-notification-life))
(push-event event)
(notify (_ "Messages downloaded.")
:priority +minimum-event-priority+
:life (* (swconf:config-notification-life) 5))))
:life (swconf:config-notification-life))))
(defun update-current-timeline (&optional (recover-count 0))
"Update current timeline