(isearch-update-ring string t)
(re-search-backward string)))
-;; The Edit->Search->Incremental Search menu
+;; The Edit->Incremental Search menu
(defvar menu-bar-i-search-menu
(let ((menu (make-sparse-keymap "Incremental Search")))
(bindings--define-key menu [isearch-forward-symbol-at-point]
(defvar menu-bar-search-menu
(let ((menu (make-sparse-keymap "Search")))
- (bindings--define-key menu [i-search]
- `(menu-item "Incremental Search" ,menu-bar-i-search-menu))
(bindings--define-key menu [separator-tag-isearch]
menu-bar-separator)
(bindings--define-key menu [replace]
`(menu-item "Replace" ,menu-bar-replace-menu))
+ (bindings--define-key menu [i-search]
+ `(menu-item "Incremental Search" ,menu-bar-i-search-menu))
+
(bindings--define-key menu [search]
`(menu-item "Search" ,menu-bar-search-menu))