mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 01:21:38 -05:00
Fix obsolete variable aliases
define-obsolete-variable-alias must come before defcustom
This commit is contained in:
parent
75ff49589d
commit
1b28e37316
1 changed files with 15 additions and 12 deletions
|
@ -37,6 +37,21 @@
|
|||
(declare-function python-shell-switch-to-shell "python")
|
||||
|
||||
|
||||
|
||||
;;; Define aliases to old variables and functions.
|
||||
|
||||
(define-obsolete-variable-alias
|
||||
'ein:notebook-console-security-dir 'ein:console-security-dir "0.1.2")
|
||||
(define-obsolete-variable-alias
|
||||
'ein:notebook-console-executable 'ein:console-executable "0.1.2")
|
||||
(define-obsolete-variable-alias
|
||||
'ein:notebook-console-args 'ein:console-args "0.1.2")
|
||||
(define-obsolete-function-alias
|
||||
'ein:notebook-console-open 'ein:console-open "0.1.2")
|
||||
|
||||
|
||||
;;; Configuration
|
||||
|
||||
(defcustom ein:console-security-dir ""
|
||||
"Security directory setting.
|
||||
|
||||
|
@ -156,18 +171,6 @@ It should be possible to support python-mode.el. Patches are welcome!
|
|||
(python-shell-switch-to-shell))
|
||||
(error "python.el is not loaded!")))
|
||||
|
||||
|
||||
;;; Define aliases to old variables and functions.
|
||||
|
||||
(define-obsolete-variable-alias
|
||||
'ein:notebook-console-security-dir 'ein:console-security-dir "0.1.2")
|
||||
(define-obsolete-variable-alias
|
||||
'ein:notebook-console-executable 'ein:console-executable "0.1.2")
|
||||
(define-obsolete-variable-alias
|
||||
'ein:notebook-console-args 'ein:console-args "0.1.2")
|
||||
(define-obsolete-function-alias
|
||||
'ein:notebook-console-open 'ein:console-open "0.1.2")
|
||||
|
||||
(provide 'ein-console)
|
||||
|
||||
;;; ein-console.el ends here
|
||||
|
|
Loading…
Add table
Reference in a new issue