Permalink
Browse files

Fix is-in-xhtml-zone in elisp code.

  • Loading branch information...
1 parent 2a049ca commit 1b1708bbf52e197a610f7932b2c13a4ce19f70b7 @arthuraa arthuraa committed Aug 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 utils/emacs/opa-mode.el
View
@@ -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))

0 comments on commit 1b1708b

Please sign in to comment.