mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-27 14:23:43 -05:00
Appease the byte-compiler
This commit is contained in:
@@ -37,7 +37,7 @@ keep them left and right aligned respectively."
|
||||
(while (keywordp (car body))
|
||||
(setq body (cddr body)))
|
||||
;;
|
||||
(cl-destructuring-bind (&key init faces on-hooks on-set activate deactivate &allow-other-keys)
|
||||
(cl-destructuring-bind (&key init faces on-hooks on-set &allow-other-keys)
|
||||
rest
|
||||
(let ((realvar (if (and body faces)
|
||||
(intern (format "+modeline--var-%s" name))
|
||||
|
@@ -21,14 +21,14 @@
|
||||
"The function that returns the buffer name display for file-visiting
|
||||
buffers.")
|
||||
|
||||
;; Convenience aliases
|
||||
(defvaralias 'mode-line-format-left '+modeline-format-left)
|
||||
(defvaralias 'mode-line-format-right '+modeline-format-right)
|
||||
;;
|
||||
(defvar-local +modeline-format-left () "TODO")
|
||||
(defvar-local +modeline-format-right () "TODO")
|
||||
(put '+modeline-format-left 'risky-local-variable t)
|
||||
(put '+modeline-format-right 'risky-local-variable t)
|
||||
;; Convenience aliases
|
||||
(defvaralias 'mode-line-format-left '+modeline-format-left)
|
||||
(defvaralias 'mode-line-format-right '+modeline-format-right)
|
||||
|
||||
;; externs
|
||||
(defvar anzu--state nil)
|
||||
|
Reference in New Issue
Block a user