Skip to content

Commit

Permalink
[contrib] merge: pull request #3 from git://github.com/arthuraa/opalang
Browse files Browse the repository at this point in the history
  • Loading branch information
François-Régis Sinot committed Aug 23, 2011
2 parents 32fa369 + 1b1708b commit 3854ea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/emacs/opa-mode.el
Expand Up @@ -398,8 +398,8 @@
(defun buffer-substring1 (pos)
(buffer-substring pos (1+ pos)))

(defun is-in-xhtml-zone (p)
(eq (get-text-property p 'syntax-table) opa-mode-syntax-table-xhtml))
(defun is-in-xhtml-zone ()
(eq (get-text-property (point) 'syntax-table) opa-mode-syntax-table-xhtml))

(defun is-in-ppdebug-zone ()
(eq (get-text-property (point) 'face) 'opa-font-ppdebug-face))
Expand Down

0 comments on commit 3854ea8

Please sign in to comment.