File tree 3 files changed +9
-9
lines changed
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 30
30
(require 'phpactor nil t )
31
31
(require 'popup nil t )
32
32
(require 'smart-jump nil t )
33
- (eval-when-compile
34
- (require 'cl-lib ))
33
+ (require 'cl-lib )
35
34
36
35
(defvar-local php-ide-phpactor-buffer nil )
37
36
(defvar-local php-ide-phpactor-hover-last-pos nil )
55
54
(defcustom php-ide-phpactor-activate-features '(all)
56
55
" A set of Phpactor features you want to enable."
57
56
:tag " PHP-IDE Phpactor Activate Features"
58
- :type '(set (const all :tag " All" )
57
+ :type '(set (const :tag " All" all )
59
58
(const hover)
60
59
(const navigation))
61
- :safe (lambda (v ) (and (listp v)))
60
+ :safe (lambda (xs ) (and (listp xs)
61
+ (cl-every (lambda (x ) (memq x '(all hover navigation))) xs)))
62
62
:group 'php-ide-phpactor )
63
63
64
64
(defvar php-ide-phpactor-timer nil
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ Turning this on will open it whenever `php-mode' is loaded."
191
191
#'php-flymake ))
192
192
" Flymake function to replace, if NIL do not replace."
193
193
:tag " PHP Mode Replace Flymake Diag Function"
194
- :type '(choice ' function
194
+ :type '(choice function
195
195
(const :tag " Disable to replace" nil )))
196
196
197
197
(define-obsolete-variable-alias 'php-do-not-use-semantic-imenu 'php-mode-do-not-use-semantic-imenu " 1.20.0" )
@@ -253,7 +253,7 @@ mumamo-mode turned on. Detects if there are any HTML tags in the
253
253
buffer before warning, but this is is not very smart; e.g. if you
254
254
have any tags inside a PHP string, it will be fooled."
255
255
:tag " PHP Mode Warn If MuMaMo Off"
256
- :type '(choice (const :tag " Warn" t ) (const " Don't warn" nil )))
256
+ :type '(choice (const :tag " Warn" t ) (const :tag " Don't warn" nil )))
257
257
258
258
(defcustom php-mode-coding-style 'pear
259
259
" Select default coding style to use with `php-mode' .
Original file line number Diff line number Diff line change @@ -99,8 +99,8 @@ You can replace \"en\" with your ISO language code."
99
99
" Function to search PHP Manual at cursor position."
100
100
:group 'php
101
101
:tag " PHP Search Documentation Function"
102
- :type '(choice (const :tag " Use online documentation" # ' php-search-web-documentation )
103
- (const :tag " Use local documentation" # ' php-local-manual-search )
102
+ :type '(choice (const :tag " Use online documentation" php-search-web-documentation)
103
+ (const :tag " Use local documentation" php-local-manual-search)
104
104
(function :tag " Use other function" )))
105
105
106
106
(defcustom php-search-documentation-browser-function nil
@@ -453,7 +453,7 @@ can be used to match against definitions for that classlike."
453
453
454
454
(defcustom php-imenu-generic-expression 'php-imenu-generic-expression-default
455
455
" Default Imenu generic expression for PHP Mode. See `imenu-generic-expression' ."
456
- :type '(choice (alist :key-type string :value-type list )
456
+ :type '(choice (alist :key-type string :value-type ( list string) )
457
457
(const php-imenu-generic-expression-legacy)
458
458
(const php-imenu-generic-expression-simple)
459
459
variable)
You can’t perform that action at this time.
0 commit comments