Parcourir la source

Add browse-url-macosx-vivaldi-browser

master
10sr il y a 3 ans
Parent
révision
939d7bea8e
Signé par: 10sr ID de la clé GPG: 7BEC428194130EB2
1 fichiers modifiés avec 11 ajouts et 0 suppressions
  1. +11
    -0
      emacs.el

+ 11
- 0
emacs.el Voir le fichier

@@ -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)


Chargement…
Annuler
Enregistrer