emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/cus-edit.el


From: Luc Teirlinck
Subject: [Emacs-diffs] Changes to emacs/lisp/cus-edit.el
Date: Thu, 07 Jul 2005 19:19:43 -0400

Index: emacs/lisp/cus-edit.el
diff -c emacs/lisp/cus-edit.el:1.226 emacs/lisp/cus-edit.el:1.227
*** emacs/lisp/cus-edit.el:1.226        Mon Jul  4 23:08:52 2005
--- emacs/lisp/cus-edit.el      Thu Jul  7 23:19:43 2005
***************
*** 1021,1029 ****
  (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))))
  
  ;;;###autoload
  (defalias 'customize-variable-other-window 'customize-option-other-window)
--- 1021,1032 ----
  (defun customize-option (symbol)
    "Customize SYMBOL, which must be a user option variable."
    (interactive (custom-variable-prompt))
!   (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,1041 ****
    "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))))
  
  (defvar customize-changed-options-previous-release "20.2"
    "Version for `customize-changed-options' to refer back to by default.")
--- 1036,1047 ----
    "Customize SYMBOL, which must be a user option variable.
  Show the buffer in another window, but don't select it."
    (interactive (custom-variable-prompt))
!   (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.")




reply via email to

[Prev in Thread] Current Thread [Next in Thread]