Browse Source

Add browse-url-macosx-vivaldi-browser

master
10sr 3 years ago
parent
commit
939d7bea8e
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      emacs.el

+ 11
- 0
emacs.el View File

@@ -3061,6 +3061,17 @@ Any output will be written to current buffer."
(mmv-draw-mark))


(defun browse-url-macosx-vivaldi-browser (url &rest args)
"Invoke the macOS Vlvaldi Web browser with URL.
ARGS are not used."
(interactive (browse-url-interactive-arg "URL: "))
(start-process (concat "vivaldi " url)
nil
"/Applications/Vivaldi.app/Contents/MacOS/Vivaldi"
url))



;; https://emacs-jp.github.io/tips/startup-optimization
;; Restore to original value
(setq gc-cons-threshold my-orig-gc-cons-threshold)


Loading…
Cancel
Save