* bookmark.el: Display the bookmark list header similarly to the
commit7a78e19f24ff07f5e57c63758ee4a98dd61453fb
authorKarl Fogel <kfogel@red-bean.com>
Thu, 7 Mar 2013 22:33:22 +0000 (7 16:33 -0600)
committerKarl Fogel <kfogel@red-bean.com>
Thu, 7 Mar 2013 22:33:22 +0000 (7 16:33 -0600)
tree1aa4feb653ffc0334b78f4106b3650b4f1932774
parent94e48c7d758beb0845ba16fd8ff12de6999e5d55
* bookmark.el: Display the bookmark list header similarly to the
buffer list header (see `list-buffers'), where the default is now
an immovable/immutable header line.  Patch by Matthias Meulien
<orontee {_AT_} gmail.com> with a few tweaks by me.

(bookmark-bmenu-use-header-line): New variable.
(bookmark-bmenu-inline-header-height): New name for
`bookmark-bmenu-header-height', to avoid confusion with the code
for the new immovable header.  All references changed.
(bookmark-bmenu-set-header): New function.
(bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
Conditionalize header construction accordingly.
(bookmark-bmenu-ensure-position): Conditionalize the skipping of
the inline header height.
(bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
Conditionalize the skipping of the inline header height.
lisp/ChangeLog
lisp/bookmark.el