mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
feat(macos): autoload +macos-{open-with,defaults}
This commit is contained in:
parent
281e3069a7
commit
742993f47f
1 changed files with 2 additions and 0 deletions
|
|
@ -1,8 +1,10 @@
|
|||
;;; os/macos/autoload.el -*- lexical-binding: t; -*-
|
||||
|
||||
;;;###autoload
|
||||
(defun +macos-defaults (action &rest args)
|
||||
(apply #'doom-call-process "defaults" action args))
|
||||
|
||||
;;;###autoload
|
||||
(defun +macos-open-with (&optional app-name path)
|
||||
"Send PATH to APP-NAME on OSX."
|
||||
(interactive)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue