]> git.eshelyaron.com Git - emacs.git/commitdiff
(syntax-after): Delete. Moved to subr.el.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 9 Sep 2002 23:14:13 +0000 (23:14 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 9 Sep 2002 23:14:13 +0000 (23:14 +0000)
lisp/emacs-lisp/syntax.el

index 717ea756b56a4e37a03726dfb1c2f441dd3dacb5..89660e48d7733fc30d0128a292536c3fef060ca4 100644 (file)
@@ -282,13 +282,5 @@ Point is at POS when this function returns."
 ;;   (with-current-buffer (or buffer (current-buffer))
 ;;     (syntax-ppss-depth (syntax-ppss))))
 
-(defun syntax-after (pos)
-  "Return the syntax of the char after POS."
-  (unless (or (< pos (point-min)) (>= pos (point-max)))
-    (let ((st (if parse-sexp-lookup-properties
-                 (get-char-property pos 'syntax-table))))
-      (if (consp st) st
-       (aref (or st (syntax-table)) (char-after pos))))))
-
 (provide 'syntax)
 ;;; syntax.el ends here