diff --git a/lisp/international/emoji.el b/lisp/international/emoji.el index bf0f81890ac..f95a9e79c4e 100644 --- a/lisp/international/emoji.el +++ b/lisp/international/emoji.el @@ -382,7 +382,9 @@ character) under point is." (insert ";; Local" " Variables: ;; coding: utf-8 ;; version-control: never -;; no-byte-compile: t +;; no-byte-" + ;; Obfuscate to not inhibit compilation of this file, too. + "compile: t ;; no-update-autoloads: t ;; End: diff --git a/lisp/xwidget.el b/lisp/xwidget.el index 4bd2be2c264..1d91e863e42 100644 --- a/lisp/xwidget.el +++ b/lisp/xwidget.el @@ -886,7 +886,7 @@ With argument, add COUNT copies of CHAR." (xwidget-webkit-isearch--update))) (let ((i 0)) (while (< i count) - (xwidget-webkit-next-result (xwidget-webkit-current-session)) + (xwidget-webkit-previous-result (xwidget-webkit-current-session)) (cl-incf i))) (xwidget-webkit-isearch--update t)) diff --git a/src/xwidget.c b/src/xwidget.c index b0700b61e54..f95f5f1d7f7 100644 --- a/src/xwidget.c +++ b/src/xwidget.c @@ -2025,12 +2025,6 @@ using `xwidget-webkit-search'. */) webview = WEBKIT_WEB_VIEW (xw->widget_osr); controller = webkit_web_view_get_find_controller (webview); webkit_find_controller_search_previous (controller); - - if (xw->find_text) - { - xfree (xw->find_text); - xw->find_text = NULL; - } unblock_input (); #endif @@ -2063,6 +2057,12 @@ using `xwidget-webkit-search'. */) webview = WEBKIT_WEB_VIEW (xw->widget_osr); controller = webkit_web_view_get_find_controller (webview); webkit_find_controller_search_finish (controller); + + if (xw->find_text) + { + xfree (xw->find_text); + xw->find_text = NULL; + } unblock_input (); #endif