File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 3030(require 'phpactor nil t )
3131(require 'popup nil t )
3232(require 'smart-jump nil t )
33- (eval-when-compile
34- (require 'cl-lib ))
33+ (require 'cl-lib )
3534
3635(defvar-local php-ide-phpactor-buffer nil )
3736(defvar-local php-ide-phpactor-hover-last-pos nil )
5554(defcustom php-ide-phpactor-activate-features '(all)
5655 " A set of Phpactor features you want to enable."
5756 :tag " PHP-IDE Phpactor Activate Features"
58- :type '(set (const all :tag " All" )
57+ :type '(set (const :tag " All" all )
5958 (const hover)
6059 (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)))
6262 :group 'php-ide-phpactor )
6363
6464(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."
191191 #'php-flymake ))
192192 " Flymake function to replace, if NIL do not replace."
193193 :tag " PHP Mode Replace Flymake Diag Function"
194- :type '(choice ' function
194+ :type '(choice function
195195 (const :tag " Disable to replace" nil )))
196196
197197(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
253253buffer before warning, but this is is not very smart; e.g. if you
254254have any tags inside a PHP string, it will be fooled."
255255 :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 )))
257257
258258(defcustom php-mode-coding-style 'pear
259259 " 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."
9999 " Function to search PHP Manual at cursor position."
100100 :group 'php
101101 :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)
104104 (function :tag " Use other function" )))
105105
106106(defcustom php-search-documentation-browser-function nil
@@ -453,7 +453,7 @@ can be used to match against definitions for that classlike."
453453
454454(defcustom php-imenu-generic-expression 'php-imenu-generic-expression-default
455455 " 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) )
457457 (const php-imenu-generic-expression-legacy)
458458 (const php-imenu-generic-expression-simple)
459459 variable)
You can’t perform that action at this time.
0 commit comments