Skip to content
Browse files

w3m-search.el (w3m-search-do-search): Save history position

  • Loading branch information...
1 parent bbff9f1 commit f40d49ccddf643f17cd2d1076246412ffdeef455 yamaoka committed Dec 25, 2012
Showing with 7 additions and 1 deletion.
  1. +5 −0 ChangeLog
  2. +2 −1 w3m-search.el
View
5 ChangeLog
@@ -1,3 +1,8 @@
+2012-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * w3m-search.el (w3m-search-do-search): Save history position.
+ Reported by Dan Jacobson <jidanni@jidanni.org>.
+
2012-12-17 Katsumi Yamaoka <yamaoka@jpl.org>
* w3m-ems.el (w3m-ems-create-image): Abolish.
View
3 w3m-search.el
@@ -1,6 +1,6 @@
;;; w3m-search.el --- functions convenient to access web search engines
-;; Copyright (C) 2001-2011 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
+;; Copyright (C) 2001--2012 TSUCHIYA Masatoshi <tsuchiya@namazu.org>
;; Authors: Keisuke Nishida <kxn30@po.cwru.edu>,
;; Shun-ichi GOTO <gotoh@taiyo.co.jp>,
@@ -328,6 +328,7 @@ Cannot run two w3m processes simultaneously \
(let ((query-string (w3m-search-escape-query-string query
(caddr info)))
(post-data (cadddr info)))
+ (w3m-history-store-position)
(funcall w3m-goto-function
(format (cadr info) query-string)
post-data

0 comments on commit f40d49c

Please sign in to comment.
Something went wrong with that request. Please try again.