branch: externals/phps-mode commit f72e66ed359d4eda936b13c9d4248c202a9d4f93 Author: Stefan Monnier <monn...@iro.umontreal.ca> Commit: Stefan Monnier <monn...@iro.umontreal.ca>
* phps-mode-analyzer.el: Don't quote lambdas (phps-mode-functions--start-idle-timer): We could use a closure, but here I just used the ARGS of run-with-idle-timer instead. --- phps-mode-analyzer.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phps-mode-analyzer.el b/phps-mode-analyzer.el index c0531e9..380c8bb 100644 --- a/phps-mode-analyzer.el +++ b/phps-mode-analyzer.el @@ -503,7 +503,7 @@ (phps-mode-lexer-re2c-rule (and ST_IN_SCRIPTING (looking-at "try")) (lambda() - (phps-mode-lexer-RETURN_TOKEN 'T_TRY (match-beginning 0) (match-end 0))))0 + (phps-mode-lexer-RETURN_TOKEN 'T_TRY (match-beginning 0) (match-end 0))))0 ;FIXME: What is this `0'? (phps-mode-lexer-re2c-rule (and ST_IN_SCRIPTING (looking-at "catch")) @@ -2948,7 +2948,7 @@ (run-with-idle-timer phps-mode-idle-interval nil - `(lambda() (phps-mode-analyzer-process-changes ,buffer))))))) + #'phps-mode-analyzer-process-changes buffer))))) (defun phps-mode-analyzer--reset-imenu () "Reset imenu index."