diff options
author | noa@gaiwan.org | 2024-06-15 21:29:25 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-06-15 21:29:25 +0000 |
commit | bf6dd99d8f7c2718cad89b8479abbd01db33fd25 (patch) | |
tree | e9855938a8cac93050a6372a4ef54fcb04351998 /emacs | |
parent | 07ff06a99bd5015e01548aad956af874b339c836 (diff) |
Remove unused helper mode line format helper function
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/init.el | 7 |
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. |