summaryrefslogtreecommitdiff
path: root/lisp/cus-edit.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2017-12-20 16:05:46 -0500
committerGlenn Morris <rgm@gnu.org>2017-12-20 16:05:46 -0500
commit7af7f5e15589407e1e78d0595fa93b20aa7dbb5a (patch)
tree7b67c338ee0850772abc1c47b87053342e289576 /lisp/cus-edit.el
parent79fb4b5438d1a5ccf695459de4df295e602fb7b3 (diff)
downloademacs-7af7f5e15589407e1e78d0595fa93b20aa7dbb5a.tar.gz
Fix some more aliases to user options
* lisp/cus-edit.el (custom-mode-hook): * lisp/erc/erc.el (erc-default-coding-system): * lisp/progmodes/python.el (python-indent, python-guess-indent) (python-shell-virtualenv-path) (python-shell-completion-module-string-code) (python-shell-completion-pdb-string-code, python-use-skeletons): Define aliases to user options before the options are defined.
Diffstat (limited to 'lisp/cus-edit.el')
-rw-r--r--lisp/cus-edit.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index efdadffa077..9993f9494fa 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -4776,6 +4776,8 @@ If several parents are listed, go to the first of them."
(parent (downcase (widget-get button :tag))))
(customize-group parent)))))
+(define-obsolete-variable-alias 'custom-mode-hook 'Custom-mode-hook "23.1")
+
(defcustom Custom-mode-hook nil
"Hook called when entering Custom mode."
:type 'hook
@@ -4804,7 +4806,6 @@ If several parents are listed, go to the first of them."
(setq-local widget-link-suffix ""))
(setq show-trailing-whitespace nil))
-(define-obsolete-variable-alias 'custom-mode-hook 'Custom-mode-hook "23.1")
(define-derived-mode Custom-mode nil "Custom"
"Major mode for editing customization buffers.