summary refs log tree commit diff
path: root/emacs/init.el
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-15 21:29:25 +0000
committernoa@gaiwan.org2024-06-15 21:29:25 +0000
commitbf6dd99d8f7c2718cad89b8479abbd01db33fd25 (patch)
treee9855938a8cac93050a6372a4ef54fcb04351998 /emacs/init.el
parent07ff06a99bd5015e01548aad956af874b339c836 (diff)
Remove unused helper mode line format helper function
Diffstat (limited to 'emacs/init.el')
-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.