Variable: align-exclude-rules-list

align-exclude-rules-list is a customizable variable defined in align.el.gz.

Value

((exc-dq-string (regexp . "\"\\([^\"\n]+\\)\"") (repeat . t)
		(modes . align-dq-string-modes))
 (exc-sq-string (regexp . "'\\([^'\n]+\\)'") (repeat . t)
		(modes . align-sq-string-modes))
 (exc-open-comment
  (regexp
   . #[514
       "\211\203�\301\202	�\302\303\304!\305Q\306#\207"
       [comment-start re-search-backward re-search-forward "[^  \n\\]"
		      regexp-quote "\\(.+\\)$" t]
       6
       ("/nix/store/yvwy8dm26cpa1j12ixgs1dyiaw2abdk9-emacs-snapshot/share/emacs/31.0.50/lisp/align.elc"
	. 15749)])
  (modes . align-open-comment-modes))
 (exc-c-comment (regexp . "/\\*\\(.+\\)\\*/") (repeat . t)
		(modes . align-c++-modes))
 (exc-c-func-params (regexp . "(\\([^)\n]+\\))") (repeat . t)
		    (modes . align-c++-modes))
 (exc-c-macro (regexp . "^\\s-*#\\s-*\\(if\\w*\\|endif\\)\\(.*\\)$")
	      (group . 2) (modes . align-c++-modes)))

Documentation

A list describing text that should be excluded from alignment.

See the documentation for align-rules-list for more info.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/align.el.gz
(defcustom align-exclude-rules-list
  `((exc-dq-string
     (regexp . "\"\\([^\"\n]+\\)\"")
     (repeat . t)
     (modes  . align-dq-string-modes))

    (exc-sq-string
     (regexp . "'\\([^'\n]+\\)'")
     (repeat . t)
     (modes  . align-sq-string-modes))

    (exc-open-comment
     (regexp
      . ,(lambda (end reverse)
           (funcall (if reverse 're-search-backward
                      're-search-forward)
                    (concat "[^ \t\n\\]"
                            (regexp-quote comment-start)
                            "\\(.+\\)$") end t)))
     (modes  . align-open-comment-modes))

    (exc-c-comment
     (regexp . "/\\*\\(.+\\)\\*/")
     (repeat . t)
     (modes  . align-c++-modes))

    (exc-c-func-params
     (regexp . "(\\([^)\n]+\\))")
     (repeat . t)
     (modes  . align-c++-modes))

    (exc-c-macro
     (regexp . "^\\s-*#\\s-*\\(if\\w*\\|endif\\)\\(.*\\)$")
     (group  . 2)
     (modes  . align-c++-modes)))
  "A list describing text that should be excluded from alignment.
See the documentation for `align-rules-list' for more info."
  :type align-exclude-rules-list-type
  :risky t)