branch: externals/a68-mode
commit 7daacac762fbbd1d29a5ccbb4da4ca900bdbfea5
Author: Omar Polo <[email protected]>
Commit: Omar Polo <[email protected]>
convert some helpers to inline functions
---
algol-mode.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/algol-mode.el b/algol-mode.el
index 0bddae46dc..0af003df89 100644
--- a/algol-mode.el
+++ b/algol-mode.el
@@ -76,11 +76,11 @@
font-lock-variable-name-face))
"Highlighting expressions for Algol 68 mode.")
-(defun a68-within-string ()
+(defsubst a68-within-string ()
"Check if inside a string."
(nth 3 (syntax-ppss)))
-(defun a68-within-comment ()
+(defsubst a68-within-comment ()
"Check if inside a comment."
(nth 4 (syntax-ppss)))