aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/subr.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 4ff9be7e8b9..7330f1d6ddf 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2286,6 +2286,10 @@ from `standard-syntax-table' otherwise."
2286 (if (consp st) st 2286 (if (consp st) st
2287 (aref (or st (syntax-table)) (char-after pos)))))) 2287 (aref (or st (syntax-table)) (char-after pos))))))
2288 2288
2289(defun syntax-class (syntax)
2290 "Return the syntax class part of the syntax descriptor SYNTAX."
2291 (logand (car syntax) 255))
2292
2289(defun add-to-invisibility-spec (arg) 2293(defun add-to-invisibility-spec (arg)
2290 "Add elements to `buffer-invisibility-spec'. 2294 "Add elements to `buffer-invisibility-spec'.
2291See documentation for `buffer-invisibility-spec' for the kind of elements 2295See documentation for `buffer-invisibility-spec' for the kind of elements