Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
dcb380c0
Commit
dcb380c0
authored
Jul 07, 2005
by
Luc Teirlinck
Browse files
(customize-option, customize-option-other-window): Make them handle aliases.
parent
a1306094
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
lisp/cus-edit.el
lisp/cus-edit.el
+12
-6
No files found.
lisp/cus-edit.el
View file @
dcb380c0
...
...
@@ -1021,9 +1021,12 @@ then prompt for the MODE to customize."
(
defun
customize-option
(
symbol
)
"Customize SYMBOL, which must be a user option variable."
(
interactive
(
custom-variable-prompt
))
(
custom-buffer-create
(
list
(
list
symbol
'custom-variable
))
(
format
"*Customize Option: %s*"
(
custom-unlispify-tag-name
symbol
))))
(
let
((
basevar
(
indirect-variable
symbol
)))
(
custom-buffer-create
(
list
(
list
basevar
'custom-variable
))
(
format
"*Customize Option: %s*"
(
custom-unlispify-tag-name
basevar
)))
(
unless
(
eq
symbol
basevar
)
(
message
"`%s' is an alias for `%s'"
symbol
basevar
))))
;;;###autoload
(
defalias
'customize-variable-other-window
'customize-option-other-window
)
...
...
@@ -1033,9 +1036,12 @@ then prompt for the MODE to customize."
"Customize SYMBOL, which must be a user option variable.
Show the buffer in another window, but don't select it."
(
interactive
(
custom-variable-prompt
))
(
custom-buffer-create-other-window
(
list
(
list
symbol
'custom-variable
))
(
format
"*Customize Option: %s*"
(
custom-unlispify-tag-name
symbol
))))
(
let
((
basevar
(
indirect-variable
symbol
)))
(
custom-buffer-create-other-window
(
list
(
list
basevar
'custom-variable
))
(
format
"*Customize Option: %s*"
(
custom-unlispify-tag-name
basevar
)))
(
unless
(
eq
symbol
basevar
)
(
message
"`%s' is an alias for `%s'"
symbol
basevar
))))
(
defvar
customize-changed-options-previous-release
"20.2"
"Version for `customize-changed-options' to refer back to by default."
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment