Appease the byte-compiler
This commit is contained in:
parent
c935f3e4da
commit
cbc59f9333
9 changed files with 14 additions and 13 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue