Fix locking buffer when there is already an async process buffer

parent 786ab3be
Pipeline #1734 passed with stage
in 32 seconds
......@@ -345,7 +345,8 @@ the screen."
"Lock the screen, preventing anyone without a password from using the system."
;; Run command asynchronously so that Emacs does not wait in the background.
(async-shell-command desktop-environment-screenlock-command))
(let ((async-shell-command-buffer 'new-buffer))
(async-shell-command desktop-environment-screenlock-command)))
;;; Minor mode
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment