branch: externals/phps-mode
commit 89b12abf79bbb31d78f404915af35b5746ea186c
Author: Christian Johansson <christ...@cvj.se>
Commit: Christian Johansson <christ...@cvj.se>
Added autoloads and fixed bug with assigning variable
---
phps-functions.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/phps-functions.el b/phps-functions.el
index 3312a9b..84e3df9 100644
--- a/phps-functions.el
+++ b/phps-functions.el
@@ -35,6 +35,9 @@
;;; Code:
+(autoload 'phps-mode/run-incremental-lex "phps-lexer")
+(autoload 'phps-mode/move-lexer-tokens "phps-lexer")
+(autoload 'phps-mode/move-lexer-states "phps-lexer")
(defvar phps-mode/buffer-changes--start nil
"Start of buffer changes, nil if none.")
@@ -119,7 +122,7 @@
(setq indent-adjust 1))
(let ((indent-sum (+ (* indent-level tab-width) indent-adjust))
- current-indentation (current-indentation))
+ (current-indentation (current-indentation)))
(when (null current-indentation)
(setq current-indentation 0))