Move core/debug.el => ./debug.el

"debug.el" conflicts with built-in debug package
This commit is contained in:
Henrik Lissner 2018-04-22 17:22:07 -04:00
parent 3dfffe455e
commit c7e2b38368
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 6 additions and 14 deletions

View file

@ -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"))
;;
;; then you can test packages in isolation.
;; emacs -Q -l debug.el
(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-user-dir (expand-file-name ".local/packages/elpa" user-emacs-directory)
package-archives
'(("gnu" . "https://elpa.gnu.org/packages/")
("melpa" . "https://melpa.org/packages/")
("org" . "https://orgmode.org/elpa/")))
(package-initialize)
;; Then you can test packages in isolation here...

View file

@ -28,10 +28,3 @@
;;; License: MIT
(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 -->