mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-04 16:51:38 -05:00
save a length call
This commit is contained in:
parent
506fcb5f98
commit
f2f94fcdf2
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ Normalize `buffer-undo-list' by removing extraneous details, and update the ein:
|
||||||
(eq (nth 1 entry) bogey))))
|
(eq (nth 1 entry) bogey))))
|
||||||
(or (check entry 'activate-cursor-for-undo)
|
(or (check entry 'activate-cursor-for-undo)
|
||||||
(check entry 'deactivate-cursor-after-undo))))
|
(check entry 'deactivate-cursor-after-undo))))
|
||||||
(cl-subseq buffer-undo-list 0 (min (length buffer-undo-list) 30))))
|
(cl-subseq buffer-undo-list 0 (min len-buffer-undo-list 30))))
|
||||||
(fill (- len-buffer-undo-list len-which-cell)))
|
(fill (- len-buffer-undo-list len-which-cell)))
|
||||||
(cond ((and (not multiple-cursors-p) (> (abs fill) 1))
|
(cond ((and (not multiple-cursors-p) (> (abs fill) 1))
|
||||||
(let ((msg (format "Undo failure diagnostic %s %s | %s"
|
(let ((msg (format "Undo failure diagnostic %s %s | %s"
|
||||||
|
|
Loading…
Add table
Reference in a new issue