]> code.delx.au - gnu-emacs-elpa/blobdiff - packages/wisi/wisi.el
* wisi: Fix warnings and a few 80-columns overruns
[gnu-emacs-elpa] / packages / wisi / wisi.el
index 546d71867dfc96f786ab84e9eac1e7c5808e8c4d..faa1e3d2db4ff797d0c93f0738901ba5fffcc74e 100755 (executable)
@@ -680,8 +680,7 @@ list (number token_id):
 list (number (token_id token_id)):
    mark all tokens with token_id in the nonterminal given by the number."
   (save-excursion
-    (let (next-keyword-mark
-         prev-keyword-mark
+    (let (prev-keyword-mark
          prev-cache
          cache
          mark)
@@ -958,7 +957,7 @@ the comment on the previous line."
 (defun wisi-indent-paren (offset)
   "Return indentation OFFSET relative to preceding open paren."
   (save-excursion
-    (ada-goto-open-paren 0)
+    (goto-char (nth 1 (syntax-ppss)))
     (+ (current-column) offset)))
 
 (defun wisi-indent-start (offset cache)