comparison lisp/cus-edit.el @ 59759:c8a0d09474af

(customize-group-other-window, custom-buffer-create-other-window): Don't override special-display-*.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 28 Jan 2005 18:42:30 +0000
parents 7e2ecc9fa098
children a7a34c3cb55e
comparison
equal deleted inserted replaced
59758:b8352a1f354a 59759:c8a0d09474af
1 ;;; cus-edit.el --- tools for customizing Emacs and Lisp packages 1 ;;; cus-edit.el --- tools for customizing Emacs and Lisp packages
2 ;; 2 ;;
3 ;; Copyright (C) 1996,97,1999,2000,01,02,03,2004 Free Software Foundation, Inc. 3 ;; Copyright (C) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005
4 ;; Free Software Foundation, Inc.
4 ;; 5 ;;
5 ;; Author: Per Abrahamsen <abraham@dina.kvl.dk> 6 ;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
6 ;; Maintainer: FSF 7 ;; Maintainer: FSF
7 ;; Keywords: help, faces 8 ;; Keywords: help, faces
8 9
896 (custom-unlispify-tag-name group)))) 897 (custom-unlispify-tag-name group))))
897 (if (get-buffer name) 898 (if (get-buffer name)
898 (let ( 899 (let (
899 ;; Copied from `custom-buffer-create-other-window'. 900 ;; Copied from `custom-buffer-create-other-window'.
900 (pop-up-windows t) 901 (pop-up-windows t)
901 (special-display-buffer-names nil)
902 (special-display-regexps nil)
903 (same-window-buffer-names nil) 902 (same-window-buffer-names nil)
904 (same-window-regexps nil)) 903 (same-window-regexps nil))
905 (pop-to-buffer name)) 904 (pop-to-buffer name))
906 (custom-buffer-create-other-window 905 (custom-buffer-create-other-window
907 (list (list group 'custom-group)) 906 (list (list group 'custom-group))
1244 OPTIONS should be an alist of the form ((SYMBOL WIDGET)...), where 1243 OPTIONS should be an alist of the form ((SYMBOL WIDGET)...), where
1245 SYMBOL is a customization option, and WIDGET is a widget for editing 1244 SYMBOL is a customization option, and WIDGET is a widget for editing
1246 that option." 1245 that option."
1247 (unless name (setq name "*Customization*")) 1246 (unless name (setq name "*Customization*"))
1248 (let ((pop-up-windows t) 1247 (let ((pop-up-windows t)
1249 (special-display-buffer-names nil)
1250 (special-display-regexps nil)
1251 (same-window-buffer-names nil) 1248 (same-window-buffer-names nil)
1252 (same-window-regexps nil)) 1249 (same-window-regexps nil))
1253 (pop-to-buffer (custom-get-fresh-buffer name)) 1250 (pop-to-buffer (custom-get-fresh-buffer name))
1254 (custom-buffer-create-internal options description))) 1251 (custom-buffer-create-internal options description)))
1255 1252
4185 4182
4186 ;;; The End. 4183 ;;; The End.
4187 4184
4188 (provide 'cus-edit) 4185 (provide 'cus-edit)
4189 4186
4190 ;;; arch-tag: 64533aa4-1b1a-48c3-8812-f9dc718e8a6f 4187 ;; arch-tag: 64533aa4-1b1a-48c3-8812-f9dc718e8a6f
4191 ;;; cus-edit.el ends here 4188 ;;; cus-edit.el ends here