> The current design is not without flaws either: when multi-buffer > isearch visits another buffer, it removes the isearch menu, because > isearch-mode is already buffer-local. This patch fixes the problem. It disables isearch-mode in the previous buffer, and enables in the next buffer. Later for isearch-buffer-local, the same function could remove hooks in the previous buffer, and add buffer-local hooks in the next buffer.