linemark.el:
(linemark-group::linemark-add-entry): Wrap call to linemark-display in condition case. Catch error in eieio framework that I can't figure out.
This commit is contained in:
parent
196843b0ed
commit
b97e8260af
1 changed files with 6 additions and 1 deletions
|
@ -275,7 +275,12 @@ Call the new entrie's activate method."
|
|||
(oset new-entry face (or face (oref g face)))
|
||||
(oset g marks (cons new-entry (oref g marks)))
|
||||
(if (oref g active)
|
||||
(linemark-display new-entry t))
|
||||
(condition-case nil
|
||||
;; Somewhere in the eieio framework this can throw 'end of buffer' error
|
||||
;; after the display function exits. Not sure where that is, but this
|
||||
;; condition-case can capture it and allow things to keep going.
|
||||
(linemark-display new-entry t)
|
||||
(error nil)))
|
||||
new-entry)
|
||||
))
|
||||
|
||||
|
|
Loading…
Reference in a new issue