mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-04 16:51:38 -05:00
Merge pull request #660 from dickmao/dev
Check symbolp before assuming symbol-name
This commit is contained in:
commit
84f367f736
4 changed files with 5 additions and 5 deletions
|
@ -61,7 +61,7 @@ How do I...
|
|||
... report a bug?
|
||||
File an issue using ``M-x ein:dev-bug-report-template``.
|
||||
|
||||
First try ``emacs -Q -f package-initialize`` and reproduce the bug. The ``-Q`` skips any user configuration that might interfere with EIN.
|
||||
First try ``emacs -Q -f package-initialize --eval "(setq debug-on-error t)"`` and reproduce the bug. The ``-Q`` skips any user configuration that might interfere with EIN.
|
||||
|
||||
Note EIN is tested only for *released* GNU Emacs versions
|
||||
.. CI VERSION (see Makefile)
|
||||
|
|
|
@ -70,7 +70,7 @@ How do I...
|
|||
... report a bug?
|
||||
File an issue using ``M-x ein:dev-bug-report-template``.
|
||||
|
||||
First try ``emacs -Q -f package-initialize`` and reproduce the bug. The ``-Q`` skips any user configuration that might interfere with EIN.
|
||||
First try ``emacs -Q -f package-initialize --eval "(setq debug-on-error t)"`` and reproduce the bug. The ``-Q`` skips any user configuration that might interfere with EIN.
|
||||
|
||||
Note EIN is tested only for *released* GNU Emacs versions
|
||||
25.1
|
||||
|
|
|
@ -1102,13 +1102,13 @@ If :above or :below specified, execute above/below the current cell."
|
|||
(lambda (my other)
|
||||
(not (string= (slot-value other 'cell-id) my)))
|
||||
current-id)))
|
||||
(append (when (and current-id above)
|
||||
(append (when above
|
||||
(aif (seq-take-while not-matching all)
|
||||
it
|
||||
(prog1 nil
|
||||
(ein:log 'info
|
||||
"ein:worksheet-execute-all-cells: no cells above current"))))
|
||||
(when (and current-id below)
|
||||
(when below
|
||||
(seq-drop-while not-matching all))))
|
||||
all)))))
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
(defmacro poly-ein--remove-hook (label functions)
|
||||
"Remove any hooks saying LABEL from FUNCTIONS"
|
||||
`(mapc (lambda (x) (when (cl-search ,label (symbol-name x))
|
||||
`(mapc (lambda (x) (when (and (symbolp x) (cl-search ,label (symbol-name x)))
|
||||
(remove-hook (quote ,functions) x t)))
|
||||
,functions))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue