summaryrefslogtreecommitdiff
path: root/lisp/cus-edit.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2006-09-03 14:13:37 +0000
committerChong Yidong <cyd@stupidchicken.com>2006-09-03 14:13:37 +0000
commitb1674d6103add2a26b00766f09600ced9a0f2c4b (patch)
tree5f0daee37c9cf562f1524f3e849ca7b17ea96f82 /lisp/cus-edit.el
parent35f111baba762a476b303076a848a335d1ac2f85 (diff)
downloademacs-b1674d6103add2a26b00766f09600ced9a0f2c4b.tar.gz
emacs-b1674d6103add2a26b00766f09600ced9a0f2c4b.tar.bz2
emacs-b1674d6103add2a26b00766f09600ced9a0f2c4b.zip
* cus-edit.el (custom-group-menu-create): Avoid deactivating the
mark after running the menu filter.
Diffstat (limited to 'lisp/cus-edit.el')
-rw-r--r--lisp/cus-edit.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/cus-edit.el b/lisp/cus-edit.el
index e3c92d59b00..c31e319f798 100644
--- a/lisp/cus-edit.el
+++ b/lisp/cus-edit.el
@@ -4395,7 +4395,8 @@ This function does not save the buffer."
"Ignoring WIDGET, create a menu entry for customization group SYMBOL."
`( ,(custom-unlispify-menu-entry symbol t)
:filter (lambda (&rest junk)
- (let ((menu (custom-menu-create ',symbol)))
+ (let* ((deactivate-mark nil)
+ (menu (custom-menu-create ',symbol)))
(if (consp menu) (cdr menu) menu)))))
;;;###autoload