From bf6dd99d8f7c2718cad89b8479abbd01db33fd25 Mon Sep 17 00:00:00 2001 From: noa@gaiwan.org Date: Sat, 15 Jun 2024 21:29:25 +0000 Subject: Remove unused helper mode line format helper function --- emacs/init.el | 7 ------- 1 file changed, 7 deletions(-) (limited to 'emacs') 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. -- cgit 1.4.1-2-gfad0