blob: 7666746ab770b35fd7ddea0094555748e63ea1da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- sawfish/lisp/sawfish/wm/util/prompt.jl
+++ sawfish/lisp/sawfish/wm/util/prompt.jl
@@ -121,10 +121,15 @@
;; Compilation hack: ensure that the compiler doesn't complain when
;; these are treated like functions and passed values.
(eval-when-compile
- (setq prompt-completion-fun (lambda (#!rest) nil)
- prompt-validation-fun (lambda (#!rest) nil)
- prompt-abbrev-fun (lambda (#!rest) nil)
- prompt-display-fun (lambda (#!rest) nil)))
+ (progn
+ (defvar prompt-completion-fun nil)
+ (defvar prompt-validation-fun nil)
+ (defvar prompt-abbrev-fun nil)
+ (defvar prompt-display-fun nil)
+ (setq prompt-completion-fun (lambda (#!rest) nil)
+ prompt-validation-fun (lambda (#!rest) nil)
+ prompt-abbrev-fun (lambda (#!rest) nil)
+ prompt-display-fun (lambda (#!rest) nil))))
;; From merlin
|