Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 1b1708bbf52e197a610f7932b2c13a4ce19f70b7 1 parent 2a049ca
@arthuraa arthuraa authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 utils/emacs/opa-mode.el
View
4 utils/emacs/opa-mode.el
@@ -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))
Please sign in to comment.
Something went wrong with that request. Please try again.