# HG changeset patch # User Oleksandr Gavenko # Date 1312352107 -10800 # Node ID f3ac6416ef21eb08c7d35adbbfdfea30fdfcd532 # Parent 3f9a497c4ff76a71312d245168781b3026cc079e Fix: "Symbol's value as variable is void: compilation-mode-map". diff -r 3f9a497c4ff7 -r f3ac6416ef21 .emacs-my --- a/.emacs-my Tue Aug 02 17:52:09 2011 +0300 +++ b/.emacs-my Wed Aug 03 09:15:07 2011 +0300 @@ -1304,7 +1304,10 @@ ) (comint-send-string (get-buffer-process (current-buffer)) string) ) -(define-key compilation-mode-map [C-return] 'my-comint-send-string) +(eval-after-load 'compile + '(progn + (define-key compilation-mode-map [C-return] 'my-comint-send-string) + )) ;;; ---------------------------------------------------------------- (message "TAGS, etags, ctags, GNU GLOBAL")