summaryrefslogtreecommitdiff
path: root/helm-eshell.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2012-03-22 21:33:03 +0100
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2012-03-22 21:33:03 +0100
commit7d8197acae733ace39e17d4fd289227605bda9f1 (patch)
tree67ec222d4ad6e5efb9486c9869d4c2ccd9f7ba40 /helm-eshell.el
parent9d238e6d532487ebd7572337499e275eb9f7ff6b (diff)
Fix warnings at compilation.
Diffstat (limited to 'helm-eshell.el')
-rw-r--r--helm-eshell.el16
1 files changed, 10 insertions, 6 deletions
diff --git a/helm-eshell.el b/helm-eshell.el
index 9b362160..20f662e3 100644
--- a/helm-eshell.el
+++ b/helm-eshell.el
@@ -15,12 +15,6 @@
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-;;; Code:
-(eval-when-compile (require 'cl))
-(require 'helm)
-(require 'helm-elisp)
-(require 'helm-regexp)
-
;; Enable like this in .emacs:
;;
;; (add-hook 'eshell-mode-hook
@@ -28,6 +22,16 @@
;; (define-key eshell-mode-map [remap pcomplete] 'helm-esh-pcomplete)))
;;
+;;; Code:
+(eval-when-compile (require 'cl))
+(require 'helm)
+(require 'helm-elisp)
+(require 'helm-regexp)
+
+(declare-function eshell-read-aliases-list "em-alias")
+(declare-function eshell-send-input "esh-mode" (&optional use-region queue-p no-newline))
+(declare-function eshell-bol "esh-mode")
+
(defvar helm-eshell-history-map
(let ((map (make-sparse-keymap)))
(set-keymap-parent map helm-map)