Lines Matching +defs:last +defs:depth
52 (defsubst syntax-ppss-depth (ppss)
90 (defvar syntax-ppss-last nil
92 (make-variable-buffer-local 'syntax-ppss-last)
100 ;; Throw away `last' value if made invalid.
101 (when (< beg (or (car syntax-ppss-last) 0))
104 ;; BEG=(car (nth 10 syntax-ppss-last)) don't reuse that data because the
106 (if (<= beg (or (syntax-ppss-toplevel-pos (cdr syntax-ppss-last))
107 (nth 3 syntax-ppss-last)
109 (setq syntax-ppss-last nil)
110 (setcar syntax-ppss-last nil)))
134 (let ((old-ppss (cdr syntax-ppss-last))
135 (old-pos (car syntax-ppss-last))
139 ;; Use the OLD-POS if usable and close. Don't update the `last' cache.
186 (unless (or syntax-ppss-cache syntax-ppss-last)
249 ;; (setcar (last ppss 4) 0)
250 ;; (setcar (last real-ppss 4) 0)
251 ;; (setcar (last ppss 8) nil)
252 ;; (setcar (last real-ppss 8) nil)
269 (setq syntax-ppss-last (cons pos ppss))
297 ;; (defun buffer-syntactic-context-depth (&optional buffer)
298 ;; "Syntactic parenthesis depth at point in BUFFER.
301 ;; (syntax-ppss-depth (syntax-ppss))))