* helm-dabbrev.el (helm-dabbrev--same-major-mode-p): Fix by looping in
  the assoc list
* helm-dabbrev.el (helm-dabbrev--same-major-mode-p): remobe buf arg and
  use let.