summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>1999-09-30 16:53:27 +0000
committerDave Love <fx@gnu.org>1999-09-30 16:53:27 +0000
commit62633a5f53f2976f36ff11dd84f2f914b5fe91f6 (patch)
tree0599834f7e3121f56d37a0721bda0f04d96cc8e6
parent2690179258ed0d92646261447bbd4fcd59ef31aa (diff)
downloademacs-62633a5f53f2976f36ff11dd84f2f914b5fe91f6.tar.gz
(custom-bury-buffer): New function.
(custom-buffer-done-function): Use it.
-rw-r--r--lisp/cus-edit.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index 38bc3eee2aa..ef9abde7892 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -1153,10 +1153,13 @@ links: groups have links to subgroups."
(const links))
:group 'custom-buffer)
+(defun custom-bury-buffer (buffer)
+ (bury-buffer))
+
(defcustom custom-buffer-done-function 'bury-buffer
"*Function called to remove a Custom buffer when the user is done with it.
Called with one argument, the buffer to remove."
- :type '(choice (function-item bury-buffer)
+ :type '(choice (function-item custom-bury-buffer)
(function-item kill-buffer)
(function :tag "Other"))
:version "21.1"