System: Windows 10, Emacs 26.1, Helm 3.0
In my init.el:
;; Shell commands history (define-key shell-mode-map (kbd "C-c C-l") 'helm-comint-input-ring)
When I start Emacs I get the following error:
Warning (initialization): An error occurred while loading ‘d:/Programs/emacs/.emacs.d/init.el’: Symbol's value as variable is void: shell-mode-map To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the ‘--debug-init’ option to view a complete error backtrace.
What is at fault?