Sammanfattning: PinBar package: ;; Author: Gaofeng Huang
< == Description ==
< pinbar.el provides a minor mode to display tabs ib the header line (pin) and you can switch these buffers with M - 1~9. It works on GNU Emacs 21 or later version.
< M-x `pinbar-mode' toggle the display of the pin bar, globally.
> Pinbar is a minor mode that displays a tab bar at the top, similar to the idea of [TabBarMode tabbar].
> === Set up your Emacs ===
< Now you can use (kbd "M-0") to pin a buffer to the pin, and (kbd "M%%--%% M-0") to unpin it.
> === Run pinbar-mode ===
> # Execute `M-x pinbar-mode`.
> # Press (kbd "M-0") to put a tab associated with current buffer to the header line.
> # Press (kbd "M%%--%% M-0") to remove all the tabs associated with current buffer.
> # Press M - 1~9 to visit the buffer associated with the tab shown on the header line.
Pinbar is a minor mode that displays a tab bar at the top, similar to the idea of tabbar.
Author: Gaofeng Huang <email@example.com>
Created: 18 May 2007
(require 'pinbar) (global-set-key "\M-0" 'pinbar-add) (pinbar-mode t)