diff options
| author | Ravi R Kiran <aine.marina@gmail.com> | 2021-11-21 22:35:25 (GMT) |
|---|---|---|
| committer | Ravi R Kiran <aine.marina@gmail.com> | 2021-11-21 22:35:25 (GMT) |
| commit | 4e6767e6d772f14d97ab6ca1be323533c08d19d3 (patch) | |
| tree | ad8abad51acd59a61e8d0ea0b2bb71ca86e7b199 | |
| parent | e506f77fbee348ca7b4624d7d26c805195611f28 (diff) | |
| download | dotemacs-4e6767e6d772f14d97ab6ca1be323533c08d19d3.zip dotemacs-4e6767e6d772f14d97ab6ca1be323533c08d19d3.tar.gz dotemacs-4e6767e6d772f14d97ab6ca1be323533c08d19d3.tar.bz2 | |
Handle explicit nil arguments gracefully
| -rw-r--r-- | lisp/kitty-remote-control.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/kitty-remote-control.el b/lisp/kitty-remote-control.el index 48fb3a3..af58f96 100644 --- a/lisp/kitty-remote-control.el +++ b/lisp/kitty-remote-control.el @@ -90,9 +90,9 @@ (defun kitty-rc-browse-url (url &rest args) "Browse URL by launching browser remotely" (kitty-rc-posted-command - (apply #'vector (append kitty-rc-browser - (list (browse-url-encode-url url)) - args)))) + (apply #'vector + (flatten-list + (list kitty-rc-browser (browse-url-encode-url url) args))))) (defun kitty-rc-browse-urls-remotely () (interactive) (setq browse-url-browser-function #'kitty-rc-browse-url)) |
