commit 7daacac762fbbd1d29a5ccbb4da4ca900bdbfea5 from: Omar Polo date: Sun Nov 07 08:40:27 2021 UTC convert some helpers to inline functions commit - 921a66919de33186292a0aba313083ec13a976a5 commit + 7daacac762fbbd1d29a5ccbb4da4ca900bdbfea5 blob - 0bddae46dc1217734120e675932d4fb5e88fb45e blob + 0af003df8918cd7ed5b112c0f8e14337dad50618 --- algol-mode.el +++ 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)))