Skip to content

Instantly share code, notes, and snippets.

@bobdobbs
Created February 8, 2022 01:07
Show Gist options
  • Save bobdobbs/8d7a845c55007a070375b7e843b334af to your computer and use it in GitHub Desktop.
Save bobdobbs/8d7a845c55007a070375b7e843b334af to your computer and use it in GitHub Desktop.
(set-default '((js-mode (javascript-backend . lsp))) ((js2-mode (javascript-backend . lsp))))
(progn (set-default 'dotspacemacs-distribution 'spacemacs) (set-default 'dotspacemacs-enable-lazy-installation 'unused) (set-default 'dotspacemacs-ask-for-lazy-installation t) (set-default 'dotspacemacs-configuration-layer-path 'nil) (set-default 'dotspacemacs-configuration-layers '(html javascript auto-completion emacs-lisp git helm dap lsp javascript multiple-cursors treemacs)) (set-default '((js-mode (javascript-backend . lsp))) ((js2-mode (javascript-backend . lsp)))) (set-default 'dotspacemacs-additional-packages 'nil) (set-default 'dotspacemacs-frozen-packages 'nil) (set-default 'dotspacemacs-excluded-packages 'nil) (set-default 'dotspacemacs-install-packages 'used-only))
(closure (t) nil "Layer configuration:\nThis function should only mod..." (progn (set-default 'dotspacemacs-distribution 'spacemacs) (set-default 'dotspacemacs-enable-lazy-installation 'unused) (set-default 'dotspacemacs-ask-for-lazy-installation t) (set-default 'dotspacemacs-configuration-layer-path 'nil) (set-default 'dotspacemacs-configuration-layers '(html javascript auto-completion emacs-lisp git helm dap lsp javascript multiple-cursors treemacs)) (set-default '((js-mode (javascript-backend . lsp))) ((js2-mode (javascript-backend . lsp)))) (set-default 'dotspacemacs-additional-packages 'nil) (set-default 'dotspacemacs-frozen-packages 'nil) (set-default 'dotspacemacs-excluded-packages 'nil) (set-default 'dotspacemacs-install-packages 'used-only)))()
apply((closure (t) nil "Layer configuration:\nThis function should only mod..." (progn (set-default 'dotspacemacs-distribution 'spacemacs) (set-default 'dotspacemacs-enable-lazy-installation 'unused) (set-default 'dotspacemacs-ask-for-lazy-installation t) (set-default 'dotspacemacs-configuration-layer-path 'nil) (set-default 'dotspacemacs-configuration-layers '(html javascript auto-completion emacs-lisp git helm dap lsp javascript multiple-cursors treemacs)) (set-default '((js-mode (javascript-backend . lsp))) ((js2-mode (javascript-backend . lsp)))) (set-default 'dotspacemacs-additional-packages 'nil) (set-default 'dotspacemacs-frozen-packages 'nil) (set-default 'dotspacemacs-excluded-packages 'nil) (set-default 'dotspacemacs-install-packages 'used-only))) nil)
dotspacemacs/layers()
(condition-case err (dotspacemacs/layers) ((debug error) (configuration-layer//increment-error-count) (spacemacs-buffer/append (format "Error in %s: %s\n" '"dotspacemacs/layers" (error-message-string err)) t)))
(progn (condition-case err (dotspacemacs/layers) ((debug error) (configuration-layer//increment-error-count) (spacemacs-buffer/append (format "Error in %s: %s\n" '"dotspacemacs/layers" (error-message-string err)) t))))
(if (fboundp 'dotspacemacs/layers) (progn (condition-case err (dotspacemacs/layers) ((debug error) (configuration-layer//increment-error-count) (spacemacs-buffer/append (format "Error in %s: %s\n" '"dotspacemacs/layers" (error-message-string err)) t)))))
(progn (if "Calling dotfile layers..." (progn (spacemacs-buffer/message "Calling dotfile layers..."))) (if (fboundp 'dotspacemacs/layers) (progn (condition-case err (dotspacemacs/layers) ((debug error) (configuration-layer//increment-error-count) (spacemacs-buffer/append (format "Error in %s: %s\n" '"dotspacemacs/layers" (error-message-string err)) t))))))
(let ((layers dotspacemacs-configuration-layers)) (progn (if "Calling dotfile layers..." (progn (spacemacs-buffer/message "Calling dotfile layers..."))) (if (fboundp 'dotspacemacs/layers) (progn (condition-case err (dotspacemacs/layers) ((debug error) (configuration-layer//increment-error-count) (spacemacs-buffer/append (format "Error in %s: %s\n" ... ...) t)))))) (setq dotspacemacs--configuration-layers-saved dotspacemacs-configuration-layers) (setq changed-since-last-dump-p (not (equal layers dotspacemacs-configuration-layers))) (spacemacs/dump-vars-to-file '(dotspacemacs-configuration-layers) configuration-layer--last-dotspacemacs-configuration-layers-file))
configuration-layer/load()
(let ((file-name-handler-alist nil)) (require 'core-spacemacs) (spacemacs/dump-restore-load-path) (configuration-layer/load-lock-file) (spacemacs/init) (configuration-layer/stable-elpa-init) (configuration-layer/load) (spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (spacemacs/dump-eval-delayed-functions) (if (and dotspacemacs-enable-server (not (spacemacs-is-dumping-p))) (progn (require 'server) (if dotspacemacs-server-socket-dir (progn (setq server-socket-dir dotspacemacs-server-socket-dir))) (if (server-running-p) nil (message "Starting a server...") (server-start)))))
(if (not (version<= spacemacs-emacs-min-version emacs-version)) (error (concat "Your version of Emacs (%s) is too old. " "Spacemacs requires Emacs version %s or above.") emacs-version spacemacs-emacs-min-version) (let ((file-name-handler-alist nil)) (require 'core-spacemacs) (spacemacs/dump-restore-load-path) (configuration-layer/load-lock-file) (spacemacs/init) (configuration-layer/stable-elpa-init) (configuration-layer/load) (spacemacs-buffer/display-startup-note) (spacemacs/setup-startup-hook) (spacemacs/dump-eval-delayed-functions) (if (and dotspacemacs-enable-server (not (spacemacs-is-dumping-p))) (progn (require 'server) (if dotspacemacs-server-socket-dir (progn (setq server-socket-dir dotspacemacs-server-socket-dir))) (if (server-running-p) nil (message "Starting a server...") (server-start))))))
eval-buffer(#<buffer *load*> nil "/home/mantis/.emacs.d/init.el" nil t) ; Reading at buffer position 3146
load-with-code-conversion("/home/mantis/.emacs.d/init.el" "/home/mantis/.emacs.d/init.el" t t)
load("/home/mantis/.emacs.d/init" noerror nomessage)
startup--load-user-init-file(#f(compiled-function () #<bytecode 0x1576d0b3ff89>) #f(compiled-function () #<bytecode 0x1576d0b3ff9d>) t)
command-line()
normal-top-level()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment