> add-hook need a function, not a variable. See
> C-h f add-hook RET
thanks for the pointer.
(defun my-truncate ()
(setq truncate-partial-width-windows nil))
(add-hook 'moinmoin-mode-hook 'my-truncate)
this "works" -- but only in the sense that all buffers and modes now
treat truncate-partial-width-windows as nil. which seems equivalent to
just setq'ing it at the global level. so i also tried:
(add-hook 'moinmoin-mode-hook '(lambda () (setq truncate-partial-
this does not seem to work.
is using add-hook even the correct way to restrict this to a mode --
or am i just messing up the definitions?