Move core/debug.el => ./debug.el
"debug.el" conflicts with built-in debug package
This commit is contained in:
parent
3dfffe455e
commit
c7e2b38368
2 changed files with 6 additions and 14 deletions
|
@ -1,17 +1,16 @@
|
||||||
;;; debug.el -*- lexical-binding: t; no-byte-compile: t; -*-
|
;;; debug.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; load me after running Emacs -Q:
|
;; To test something in a blank, vanilla Emacs session (Emacs -Q) load me:
|
||||||
;;
|
;;
|
||||||
;; (load-file (concat user-emacs-directory "core/debug.el"))
|
;; emacs -Q -l debug.el
|
||||||
;;
|
|
||||||
;; then you can test packages in isolation.
|
|
||||||
|
|
||||||
(setq user-emacs-directory (expand-file-name "../" (file-name-directory load-file-name))
|
(setq user-emacs-directory (file-name-directory load-file-name)
|
||||||
package--init-file-ensured t
|
package--init-file-ensured t
|
||||||
package-user-dir (expand-file-name ".local/packages/elpa" user-emacs-directory)
|
package-user-dir (expand-file-name ".local/packages/elpa" user-emacs-directory)
|
||||||
package-archives
|
package-archives
|
||||||
'(("gnu" . "https://elpa.gnu.org/packages/")
|
'(("gnu" . "https://elpa.gnu.org/packages/")
|
||||||
("melpa" . "https://melpa.org/packages/")
|
("melpa" . "https://melpa.org/packages/")
|
||||||
("org" . "https://orgmode.org/elpa/")))
|
("org" . "https://orgmode.org/elpa/")))
|
||||||
|
|
||||||
(package-initialize)
|
(package-initialize)
|
||||||
|
|
||||||
|
;; Then you can test packages in isolation here...
|
7
init.el
7
init.el
|
@ -28,10 +28,3 @@
|
||||||
;;; License: MIT
|
;;; License: MIT
|
||||||
|
|
||||||
(require 'core (concat user-emacs-directory "core/core"))
|
(require 'core (concat user-emacs-directory "core/core"))
|
||||||
|
|
||||||
;; To test something in a blank, vanilla Emacs session (Emacs -Q) comment the
|
|
||||||
;; require above and load core/debug.el instead:
|
|
||||||
;;
|
|
||||||
;; (load (concat user-emacs-directory "core/debug.el"))
|
|
||||||
;;
|
|
||||||
;; <-- place debug code here -->
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue