aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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."
1153 (const links)) 1153 (const links))
1154 :group 'custom-buffer) 1154 :group 'custom-buffer)
1155 1155
1156(defun custom-bury-buffer (buffer)
1157 (bury-buffer))
1158
1156(defcustom custom-buffer-done-function 'bury-buffer 1159(defcustom custom-buffer-done-function 'bury-buffer
1157 "*Function called to remove a Custom buffer when the user is done with it. 1160 "*Function called to remove a Custom buffer when the user is done with it.
1158Called with one argument, the buffer to remove." 1161Called with one argument, the buffer to remove."
1159 :type '(choice (function-item bury-buffer) 1162 :type '(choice (function-item custom-bury-buffer)
1160 (function-item kill-buffer) 1163 (function-item kill-buffer)
1161 (function :tag "Other")) 1164 (function :tag "Other"))
1162 :version "21.1" 1165 :version "21.1"