summaryrefslogtreecommitdiff
path: root/helm-net.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thievol@posteo.net>2021-10-11 07:37:40 +0200
committerThierry Volpiatto <thievol@posteo.net>2021-10-11 07:37:40 +0200
commit9869d8d39018ca91547d33c78599b104803695cb (patch)
tree962c38708a501a7789a84a4bc3ebda0c85a1c29e /helm-net.el
parent87a7b21b4fc6c914fe8995c456aa3be0b77ab73b (diff)
Remove usage of del-input everywhere
Diffstat (limited to 'helm-net.el')
-rw-r--r--helm-net.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/helm-net.el b/helm-net.el
index fe1563e4..1f572bda 100644
--- a/helm-net.el
+++ b/helm-net.el
@@ -402,8 +402,7 @@ NOTE: Probably not supported on some systems (e.g., Windows)."
(helm-build-elvi-list)
:must-match t
:name "Surfraw Search Engines"
- :del-input nil
- :history helm-surfraw-engines-history)))
+ :history 'helm-surfraw-engines-history)))
(let* ((engine-nodesc (car (split-string engine)))
(url (if (string= engine-nodesc "duckduckgo")
;; "sr duckduckgo -p foo" is broken, workaround.
@@ -418,9 +417,7 @@ NOTE: Probably not supported on some systems (e.g., Windows)."
browse-url-browser-function)))
(if (string= engine-nodesc "W")
(helm-browse-url helm-home-url)
- (helm-browse-url url)
- (setq helm-surfraw-engines-history
- (cons engine (delete engine helm-surfraw-engines-history))))))
+ (helm-browse-url url))))
;;;###autoload
(defun helm-google-suggest ()