mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 01:21:38 -05:00
parent
0778b4df72
commit
b865b62e08
1 changed files with 5 additions and 1 deletions
|
@ -97,7 +97,11 @@
|
|||
(defmethod ein:tb-file-path-at-point ((traceback ein:traceback))
|
||||
(destructuring-bind (beg end)
|
||||
(ein:tb-range-of-node-at-point traceback)
|
||||
(let* ((file-tail (next-single-property-change beg 'font-lock-face nil end))
|
||||
(let* ((file-tail
|
||||
(if (>= emacs-major-version 24)
|
||||
(next-single-property-change beg 'font-lock-face nil end)
|
||||
;; For Emacs 23.x:
|
||||
(next-single-property-change beg 'face nil end)))
|
||||
(file (when file-tail
|
||||
(buffer-substring-no-properties beg file-tail))))
|
||||
(if (string-match "\\.pyc$" file)
|
||||
|
|
Loading…
Add table
Reference in a new issue