mirror of
https://github.com/doomemacs/doomemacs.git
synced 2025-12-06 02:30:33 -08:00
refactor: remove doom/goto-private-*-file commands
These commands were removed in an ongoing effort to slim down Doom and its core. The `doom/goto-private-*-file` family of commands were redundant with `doom/open-private-config` and `doom/find-file-in-private-config`.
This commit is contained in:
parent
6a8c09f012
commit
eea00f5d45
2 changed files with 2 additions and 28 deletions
|
|
@ -13,7 +13,7 @@
|
|||
"Browse your `doom-user-dir'."
|
||||
(interactive)
|
||||
(unless (file-directory-p doom-user-dir)
|
||||
(make-directory doom-user-dir t))
|
||||
(user-error "$DOOMDIR doesn't exist (%s)" (abbreviate-file-name doom-user-dir)))
|
||||
(doom-project-browse doom-user-dir))
|
||||
|
||||
;;;###autoload
|
||||
|
|
@ -22,30 +22,6 @@
|
|||
(interactive)
|
||||
(doom-project-find-file doom-user-dir))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/goto-private-init-file ()
|
||||
"Open your private init.el file.
|
||||
And jumps to your `doom!' block."
|
||||
(interactive)
|
||||
(find-file (expand-file-name doom-module-init-file doom-user-dir))
|
||||
(goto-char
|
||||
(or (save-excursion
|
||||
(goto-char (point-min))
|
||||
(search-forward "(doom!" nil t))
|
||||
(point))))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/goto-private-config-file ()
|
||||
"Open your private config.el file."
|
||||
(interactive)
|
||||
(find-file (expand-file-name doom-module-config-file doom-user-dir)))
|
||||
|
||||
;;;###autoload
|
||||
(defun doom/goto-private-packages-file ()
|
||||
"Open your private packages.el file."
|
||||
(interactive)
|
||||
(find-file (expand-file-name doom-module-packages-file doom-user-dir)))
|
||||
|
||||
|
||||
;;
|
||||
;;; Managements
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue