diff options
| -rw-r--r-- | lisp/cus-edit.el | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el index 76e8e5bf7ba..5c3ff9448c0 100644 --- a/lisp/cus-edit.el +++ b/lisp/cus-edit.el | |||
| @@ -1021,9 +1021,12 @@ then prompt for the MODE to customize." | |||
| 1021 | (defun customize-option (symbol) | 1021 | (defun customize-option (symbol) |
| 1022 | "Customize SYMBOL, which must be a user option variable." | 1022 | "Customize SYMBOL, which must be a user option variable." |
| 1023 | (interactive (custom-variable-prompt)) | 1023 | (interactive (custom-variable-prompt)) |
| 1024 | (custom-buffer-create (list (list symbol 'custom-variable)) | 1024 | (let ((basevar (indirect-variable symbol))) |
| 1025 | (format "*Customize Option: %s*" | 1025 | (custom-buffer-create (list (list basevar 'custom-variable)) |
| 1026 | (custom-unlispify-tag-name symbol)))) | 1026 | (format "*Customize Option: %s*" |
| 1027 | (custom-unlispify-tag-name basevar))) | ||
| 1028 | (unless (eq symbol basevar) | ||
| 1029 | (message "`%s' is an alias for `%s'" symbol basevar)))) | ||
| 1027 | 1030 | ||
| 1028 | ;;;###autoload | 1031 | ;;;###autoload |
| 1029 | (defalias 'customize-variable-other-window 'customize-option-other-window) | 1032 | (defalias 'customize-variable-other-window 'customize-option-other-window) |
| @@ -1033,9 +1036,12 @@ then prompt for the MODE to customize." | |||
| 1033 | "Customize SYMBOL, which must be a user option variable. | 1036 | "Customize SYMBOL, which must be a user option variable. |
| 1034 | Show the buffer in another window, but don't select it." | 1037 | Show the buffer in another window, but don't select it." |
| 1035 | (interactive (custom-variable-prompt)) | 1038 | (interactive (custom-variable-prompt)) |
| 1036 | (custom-buffer-create-other-window | 1039 | (let ((basevar (indirect-variable symbol))) |
| 1037 | (list (list symbol 'custom-variable)) | 1040 | (custom-buffer-create-other-window |
| 1038 | (format "*Customize Option: %s*" (custom-unlispify-tag-name symbol)))) | 1041 | (list (list basevar 'custom-variable)) |
| 1042 | (format "*Customize Option: %s*" (custom-unlispify-tag-name basevar))) | ||
| 1043 | (unless (eq symbol basevar) | ||
| 1044 | (message "`%s' is an alias for `%s'" symbol basevar)))) | ||
| 1039 | 1045 | ||
| 1040 | (defvar customize-changed-options-previous-release "20.2" | 1046 | (defvar customize-changed-options-previous-release "20.2" |
| 1041 | "Version for `customize-changed-options' to refer back to by default.") | 1047 | "Version for `customize-changed-options' to refer back to by default.") |