]> git.eshelyaron.com Git - emacs.git/commitdiff
Autoload cua-toggle-rectangle-mark (Bug#34947)
authorBraun Gábor <braungb88@gmail.com>
Fri, 22 Mar 2019 15:11:44 +0000 (16:11 +0100)
committerNoam Postavsky <npostavs@gmail.com>
Fri, 19 Apr 2019 19:19:45 +0000 (15:19 -0400)
* lisp/emulation/cua-base.el (cua-toggle-rectangle-mark): Autoload it.
Library cua-base.el binds cua-toggle-rectangle-mark to a key in the
:set function in (defcustom cua-rectangle-mark-key ...), so it should
ensure that the command is defined.

Copyright-paperwork-exempt: yes

lisp/emulation/cua-base.el

index e0efd46ea27cd570aa713c222ccf79ca629b87ea..4dd292fbdb9be662182640c78bef70715dbf823c 100644 (file)
@@ -592,6 +592,7 @@ a cons (TYPE . COLOR), then both properties are affected."
 
 (autoload 'cua-set-rectangle-mark "cua-rect"
   "Start rectangle at mouse click position." t nil)
+(autoload 'cua-toggle-rectangle-mark "cua-rect" nil t)
 
 ;; Stub definitions until it is loaded
 (defvar cua--rectangle)