summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el7
1 files changed, 0 insertions, 7 deletions
diff --git a/emacs/init.el b/emacs/init.el
index d34baa3..c9f5c7b 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -78,13 +78,6 @@
 
 ;; I don't know exactly what the final variable covers, so i keep it here so that if something shows up i know that it gets put here.  Because i have a global mode line in my tab bar, some of the things that would otherwise be here (like the time, battery percentage, and notifications for chat buffers) don't show up.
 
-;; This function taken from Nicolas Rougier's elegant emacs
-(defun mode-line-render (left right)
-  "Function to render the modeline LEFT to RIGHT."
-  (concat left
-          (propertize " " 'display `(space :align-to (- right ,(length right))))
-          right))
-
 ;; Copy the code from mode-line-format-right-align so that i can use it.  This is an emacs 30 feature, which i don't run yet.  In the future, i'll be able to remove this.
 (defcustom mode-line-right-align-edge 'window
   "Where function `mode-line-format-right-align' should align to.