File: 10.elisp

package info (click to toggle)
relint-el 2.1%2Brepack-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 360 kB
  • sloc: lisp: 2,673; makefile: 5
file content (20 lines) | stat: -rw-r--r-- 428 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
;;; Relint test file 10          -*- emacs-lisp -*-

;; Test error position in lists

(defconst test-1-regexp-list
  (append
   (list "1" "[aa]")
   (list "2" "3" "[bb]")))

(defconst test-2-regexp-alist
  `((c . "[cc]")
    ,(cons 'd "[dd]")
    (e . ,(concat "[e" "e]"))
    ,@(list '(f . "[ff]") '(g . "[gg]"))
    (i . "[hh]")
    (j . ((rx bol (in "z-z"))))))

(defconst test-3-regexp-alist
  (list
   '("[ii]" . "[jj]")))