浏览代码

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)


正在加载...
取消
保存