about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-04-20 17:59:49 -0500
committerCase Duckworth2021-04-20 17:59:49 -0500
commitc4a38fed1ef8bee6a485d5c376d5c17021c8043e (patch)
tree8437028bc5a3e7657bfd426187f4f4c66b9125df
parentAdd `electric-cursor' (diff)
parentMerge branch 'main' of https://tildegit.org/acdw/emacs (diff)
downloademacs-c4a38fed1ef8bee6a485d5c376d5c17021c8043e.tar.gz
emacs-c4a38fed1ef8bee6a485d5c376d5c17021c8043e.zip
Merge branch 'main' of https://tildegit.org/acdw/emacs
-rw-r--r--init.el11
1 files changed, 10 insertions, 1 deletions
diff --git a/init.el b/init.el index dd7fc2a..94b1ee1 100644 --- a/init.el +++ b/init.el
@@ -19,6 +19,14 @@
19;; Let's use lexical binding by default, shall we? 19;; Let's use lexical binding by default, shall we?
20(setq-default lexical-binding t) 20(setq-default lexical-binding t)
21 21
22;; For some reason, the above setting doesn't translate to the *scratch*
23;; buffer, where I try out packages.
24(advice-add 'setup :around
25 (defun acdw/setup-lexical-advice (orig-fun &rest args)
26 "Wrap `setup' in a `lexical-binding' form."
27 (let ((lexical-binding t))
28 (apply orig-fun args))))
29
22 30
23;;; Necessary packages 31;;; Necessary packages
24 32
@@ -371,7 +379,7 @@
371 t))) 379 t)))
372 380
373 381
374;; Applications 382;;; Applications
375 383
376(setup (:straight (org :host nil 384(setup (:straight (org :host nil
377 :repo "https://code.orgmode.org/bzg/org-mode.git")) 385 :repo "https://code.orgmode.org/bzg/org-mode.git"))
@@ -459,6 +467,7 @@
459 "G" elpher-go-current) 467 "G" elpher-go-current)
460 (:hook acdw/reading-mode) 468 (:hook acdw/reading-mode)
461 (autoload 'elpher-bookmarks "elpher" nil t) 469 (autoload 'elpher-bookmarks "elpher" nil t)
470 (autoload 'elpher-go "elpher" nil t)
462 ;; Make `eww' gemini/gopher aware. From Emacswiki. 471 ;; Make `eww' gemini/gopher aware. From Emacswiki.
463 (advice-add 'eww-browse-url :around 472 (advice-add 'eww-browse-url :around
464 (defun elpher:eww-browse-url (original url &optional new-window) 473 (defun elpher:eww-browse-url (original url &optional new-window)