mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-04 16:51:38 -05:00
unnecessary poly-ein--remove-hook calls
This commit is contained in:
parent
9f5c06b696
commit
47c46b9d5a
1 changed files with 0 additions and 5 deletions
|
@ -45,11 +45,6 @@
|
||||||
(setf minor-mode-map-alist
|
(setf minor-mode-map-alist
|
||||||
(cons entry
|
(cons entry
|
||||||
(assq-delete-all 'ein:notebook-mode minor-mode-map-alist)))))
|
(assq-delete-all 'ein:notebook-mode minor-mode-map-alist)))))
|
||||||
(when (eq major-mode 'ein:markdown-mode)
|
|
||||||
(poly-ein--remove-hook "ein:markdown" after-change-functions)
|
|
||||||
(poly-ein--remove-hook "ein:markdown" jit-lock-after-change-extend-region-functions)
|
|
||||||
(poly-ein--remove-hook "ein:markdown" window-configuration-change-hook)
|
|
||||||
(poly-ein--remove-hook "ein:markdown" syntax-propertize-extend-region-functions))
|
|
||||||
(when (ein:eval-if-bound 'display-line-numbers-mode)
|
(when (ein:eval-if-bound 'display-line-numbers-mode)
|
||||||
(when (fboundp 'display-line-numbers-mode)
|
(when (fboundp 'display-line-numbers-mode)
|
||||||
(display-line-numbers-mode -1)))
|
(display-line-numbers-mode -1)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue