mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 04:11:18 +00:00
Widen definition of llvm dump file
This commit is contained in:
parent
187713fc4a
commit
87e696e61b
1 changed files with 2 additions and 2 deletions
|
|
@ -29,8 +29,8 @@
|
|||
'((assembly :key ?a :major-mode asm-mode :buffer-string "assembly" :description "[a]ssembly")))
|
||||
|
||||
(defun ll/is-dump-file (fname)
|
||||
(and (string= "/tmp/"
|
||||
(file-name-directory fname))
|
||||
(and (string-match-p (rx line-start "/tmp/")
|
||||
(file-name-directory fname))
|
||||
(string-match-p (rx "/" (+ (not "/")) "-" (= 6 alphanumeric) "." (+ anything))
|
||||
fname)))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue