1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-03 11:33:37 +00:00

* progmodes/cperl-mode.el (cperl-electric-paren): Don't expand

abbrev (Bug#3943).
This commit is contained in:
Chong Yidong 2009-08-16 23:20:21 +00:00
parent 8c777c8de1
commit 7a55c78b36
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-08-16 Chong Yidong <cyd@stupidchicken.com>
* progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
abbrev (Bug#3943).
2007-10-08 Ilya Zakharevich <ilyaz@cpan.org>
* progmodes/cperl-mode.el: Merge upstream 6.2.

View File

@ -2154,8 +2154,9 @@ See `cperl-electric-parens'."
;;(not (save-excursion (search-backward "#" beg t)))
(if (eq last-command-event ?<)
(progn
(and abbrev-mode ; later it is too late, may be after `for'
(expand-abbrev))
;; This code is too electric, see Bug#3943.
;; (and abbrev-mode ; later it is too late, may be after `for'
;; (expand-abbrev))
(cperl-after-expr-p nil "{;(,:="))
1))
(progn