about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-09-06 14:14:57 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-09-06 14:14:57 +0100
commit84ef0059794fee46932a0099bc771db76aa6919d (patch)
treeba665fe5add2ddaeae812c012a66d9bd0b44ce09 /.emacs.d
parent5a215dcd4e07954b54ba82b0f780ca3553782b21 (diff)
downloaddotfiles-84ef0059794fee46932a0099bc771db76aa6919d.tar.gz
Remove obsolete function
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 7c8c8d8..2250665 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -26,14 +26,6 @@
                                             gc-cons-percentage 0.1))
           99)
 
-;; Some straight functions need to be able to reload everything, so require won't do
-(defun require! (feature &optional filename noerror)
-  "Like `require', but if `force-reload' is non-nil, `load' instead.
-`FEATURE', `FILENAME' and `NOERROR' have the same meaning as with require"
-  (if (and (boundp 'force-reload) force-reload)
-      (load (prin1-to-string feature) noerror nil nil t)
-    (require feature filename noerror)))
-
 (require 'init-packages)
 (require 'init-ui)
 (require 'init-compile)