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:
parent
07611936c0
commit
13cb2e810e
@ -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))
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user