瀏覽代碼

Add browse-url-macosx-vivaldi-browser

master
10sr 3 年之前
父節點
當前提交
939d7bea8e
簽署人: 10sr GPG 金鑰 ID: 7BEC428194130EB2
共有 1 個檔案被更改,包括 11 行新增0 行删除
  1. +11
    -0
      emacs.el

+ 11
- 0
emacs.el 查看文件

@@ -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…
取消
儲存