]> git.eshelyaron.com Git - emacs.git/commitdiff
* progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
authorChong Yidong <cyd@stupidchicken.com>
Sun, 16 Aug 2009 23:20:21 +0000 (23:20 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Sun, 16 Aug 2009 23:20:21 +0000 (23:20 +0000)
abbrev (Bug#3943).

lisp/ChangeLog
lisp/progmodes/cperl-mode.el

index 8eabde083f7475de5a9c315390703b0ee81f50a8..0327630fbb20e44bec7b544284d4d33f1612bde0 100644 (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.
index a6f322145f5cfd64584566ea4217a1629502a7ef..d2b3c5d37913e707809c163913cd14c06c037356 100644 (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