summaryrefslogtreecommitdiff
path: root/lisp/cus-edit.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-06-01 06:41:08 +0000
committerRichard M. Stallman <rms@gnu.org>1997-06-01 06:41:08 +0000
commitc592b39a2e8e45972e296176b5e1a1b6fd35e5df (patch)
treee8507759a738178c296b98850350a9f9d03fe4a1 /lisp/cus-edit.el
parent6f8f2f5330c2ae80c457bd3aa62d4fa404459943 (diff)
downloademacs-c592b39a2e8e45972e296176b5e1a1b6fd35e5df.tar.gz
(customize-option): Renamed from custom-variable.
(customize-variable): Add it as an alias. (customize-option-other-window): Renamed from customize-variable-other-window. (custom-load-symbol): Search for both short and absolute names of the library, when avoiding duplicate loading.
Diffstat (limited to 'lisp/cus-edit.el')
-rw-r--r--lisp/cus-edit.el15
1 files changed, 9 insertions, 6 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 8c4bf9deef6..c6f35c9e754 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -740,22 +740,24 @@ are shown; the contents of those subgroups are initially hidden."
(list (list symbol 'custom-group))
(format "*Customize Group: %s*" (custom-unlispify-tag-name symbol))))
+;;;### (defalias 'customize-variable 'customize-option)
+
;;;###autoload
-(defun customize-variable (symbol)
- "Customize SYMBOL, which must be a variable."
+(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 Variable: %s*"
+ (format "*Customize Option: %s*"
(custom-unlispify-tag-name symbol))))
;;;###autoload
-(defun customize-variable-other-window (symbol)
- "Customize SYMBOL, which must be a variable.
+(defun customize-option-other-window (symbol)
+ "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 Variable: %s*" (custom-unlispify-tag-name symbol))))
+ (format "*Customize Option: %s*" (custom-unlispify-tag-name symbol))))
;;;###autoload
(defun customize-face (&optional symbol)
@@ -1331,6 +1333,7 @@ Change the state of this item."
(require load)
(error nil)))
;; Don't reload a file already loaded.
+ ((assoc load load-history))
((assoc (locate-library load) load-history))
(t
(condition-case nil