Fix: eval-expression: Symbol's value as variable is void: srecode-map-load-path
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 02 Aug 2014 21:49:16 +0300
changeset 1155 a4a30b11e1ca
parent 1154 676a36b10cd3
child 1156 736410a49d60
Fix: eval-expression: Symbol's value as variable is void: srecode-map-load-path
.emacs-my
--- a/.emacs-my	Tue Jul 29 00:25:00 2014 +0300
+++ b/.emacs-my	Sat Aug 02 21:49:16 2014 +0300
@@ -2291,6 +2291,8 @@
   (global-ede-mode t)
 
   (require 'srecode)
+  (unless (boundp 'srecode-map-load-path)
+    (setq srecode-map-load-path nil))
   (add-to-list 'srecode-map-load-path (locate-user-emacs-file "srecode/"))
   (global-srecode-minor-mode 1)
   (add-hook 'prog-mode-hook 'srecode-minor-mode)