do not use xor
This commit is contained in:
parent
d81e75584e
commit
4024b60757
|
@ -25,5 +25,6 @@
|
||||||
"Setup the width lock of treemacs buffer based on
|
"Setup the width lock of treemacs buffer based on
|
||||||
`treemacs-lock-width'."
|
`treemacs-lock-width'."
|
||||||
(interactive)
|
(interactive)
|
||||||
(when (xor treemacs--width-is-locked treemacs-lock-width)
|
(unless (eq (not treemacs--width-is-locked)
|
||||||
|
(not treemacs-lock-width))
|
||||||
(treemacs-toggle-fixed-width)))
|
(treemacs-toggle-fixed-width)))
|
||||||
|
|
Loading…
Reference in a new issue