Function: meson--comment-bolp

meson--comment-bolp is a natively compiled function defined in meson-mode.el.

Signature

(meson--comment-bolp &optional SYN-PPSS)

Documentation

Return non-nil if point is at the beginning of line, ignoring comments.

Optional SYN-PPSS is the value returned by syntax-ppss.

Source Code

;; Defined in /nix/store/57kn62wrv0z1jads9j9blmagdm8rh132-emacs-packages-deps/share/emacs/site-lisp/elpa/meson-mode-20240601.1647/meson-mode.el
(defun meson--comment-bolp (&optional syn-ppss)
  "Return non-nil if point is at the beginning of line, ignoring comments.
Optional SYN-PPSS is the value returned by `syntax-ppss'."
  (save-excursion
    (let ((ppss (or syn-ppss
		    (syntax-ppss))))
      (when (nth 4 ppss)                ; inside comment
	(goto-char (nth 8 ppss)))	; go to its beginning
      (smie-rule-bolp))))