# HG changeset patch # User Thien-Thi Nguyen # Date 1105358048 0 # Node ID 1312906d3476ac1d1de331d239365530a8ea309f # Parent 139dd24b2c1c55874221e5b41af5e237d4765231 (Electric-buffer-menu-mode): Preserve value of buffer-local var header-line-format. diff -r 139dd24b2c1c -r 1312906d3476 lisp/ebuff-menu.el --- a/lisp/ebuff-menu.el Mon Jan 10 05:01:27 2005 +0000 +++ b/lisp/ebuff-menu.el Mon Jan 10 11:54:08 2005 +0000 @@ -149,7 +149,9 @@ Entry to this mode via command `electric-buffer-list' calls the value of `electric-buffer-menu-mode-hook'." - (kill-all-local-variables) + (let ((saved header-line-format)) + (kill-all-local-variables) + (setq header-line-format saved)) (use-local-map electric-buffer-menu-mode-map) (setq mode-name "Electric Buffer Menu") (setq mode-line-buffer-identification "Electric Buffer List")