Set fvwm-fvwmcommand-path after loading fvwm-mode.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 03 Jan 2014 22:01:11 +0200
changeset 1102 15dcb049a269
parent 1101 500c2af9b6fb
child 1103 fd7c7d90758a
Set fvwm-fvwmcommand-path after loading fvwm-mode.
.emacs-my
--- a/.emacs-my	Fri Jan 03 21:09:14 2014 +0200
+++ b/.emacs-my	Fri Jan 03 22:01:11 2014 +0200
@@ -2274,7 +2274,7 @@
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "fvwm-mode")
 
-(when (featurep 'fvwm-mode)
+(eval-after-load 'fvwm-mode
   (setq fvwm-fvwmcommand-path (executable-find "FvwmCommand")))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;