mirror of
https://github.com/pestctrl/emacs-config.git
synced 2026-06-14 04:11:18 +00:00
Fixes to stack trace org table conversion
Line number in org mode syntax is two colons. erase-buffer ignores restriction!
This commit is contained in:
parent
d43cbe1715
commit
5af94f32e0
1 changed files with 2 additions and 2 deletions
|
|
@ -40,7 +40,7 @@
|
|||
(slot-value stack-entry 'stack-number)
|
||||
(slot-value stack-entry 'func-name)
|
||||
(let ((fname (slot-value stack-entry 'file-name)))
|
||||
(format "[[%s:%d][%s]]"
|
||||
(format "[[%s::%d][%s]]"
|
||||
fname
|
||||
(slot-value stack-entry 'line-number)
|
||||
(file-name-nondirectory fname))))))
|
||||
|
|
@ -87,7 +87,7 @@
|
|||
:file-name (match-string 3)
|
||||
:line-number (string-to-number (match-string 4)))
|
||||
stacktrace))
|
||||
(erase-buffer))
|
||||
(delete-region (point-min) (point-max)))
|
||||
(stacktrace-to-org-table stacktrace)))
|
||||
|
||||
(defun lldb-filename-to-org-link (filename)
|
||||
|
|
|
|||
Loading…
Reference in a new issue