aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2006-05-04 21:58:34 +0000
committerStefan Monnier2006-05-04 21:58:34 +0000
commitcbe8cf2a450914c6d36babe4ee87a2cc161d0019 (patch)
tree4da47c65333bd46a3e49f60c91eb7e3504d55451
parent4e0299e5780136c89f9286cbb101e2208b8eb5fe (diff)
downloademacs-cbe8cf2a450914c6d36babe4ee87a2cc161d0019.tar.gz
emacs-cbe8cf2a450914c6d36babe4ee87a2cc161d0019.zip
(perl-beginning-of-function): Skip anonymous subs.
-rw-r--r--lisp/ChangeLog30
-rw-r--r--lisp/progmodes/perl-mode.el5
2 files changed, 19 insertions, 16 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 626677de1d0..5c3c58767f7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12006-05-04 Karl Chen <quarl@NOSPAM.quarl.org>
2
3 * progmodes/perl-mode.el (perl-beginning-of-function):
4 Skip anonymous subs.
5
12006-05-04 Dan Nicolaescu <dann@ics.uci.edu> 62006-05-04 Dan Nicolaescu <dann@ics.uci.edu>
2 7
3 * ibuffer.el (ibuffer-compressed-file-name-regexp): Avoid loading 8 * ibuffer.el (ibuffer-compressed-file-name-regexp): Avoid loading
@@ -44,20 +49,17 @@
44 49
452006-05-02 Chong Yidong <cyd@mit.edu> 502006-05-02 Chong Yidong <cyd@mit.edu>
46 51
47 * msb.el (msb): If EVENT is a down event, read and discard the up 52 * msb.el (msb): If EVENT is a down event, read and discard the up event.
48 event.
49 53
502006-05-02 Reiner Steib <Reiner.Steib@gmx.de> 542006-05-02 Reiner Steib <Reiner.Steib@gmx.de>
51 55
52 * startup.el (command-line-1): Refer to Lisp manual when 56 * startup.el (command-line-1): Refer to Lisp manual when
53 pure-space-overflow occurs. 57 pure-space-overflow occurs.
54 58
55 * files.el (byte-compile-dynamic) 59 * files.el (byte-compile-dynamic, byte-compile-dynamic-docstrings)
56 (byte-compile-dynamic-docstrings, byte-compile-warnings) 60 (byte-compile-warnings, find-file-visit-truename, indent-tabs-mode)
57 (find-file-visit-truename, indent-tabs-mode, left-margin) 61 (left-margin, no-byte-compile, no-update-autoloads, truncate-lines)
58 (no-byte-compile no-update-autoloads, truncate-lines) 62 (version-control): Don't use `t' for safe-local-variable declarations.
59 (version-control): Don't use `t' for safe-local-variable
60 declarations.
61 63
622006-05-01 Richard Stallman <rms@gnu.org> 642006-05-01 Richard Stallman <rms@gnu.org>
63 65
@@ -91,10 +93,10 @@
91 Returning "/" only doesn't need to be necessary any longer. 93 Returning "/" only doesn't need to be necessary any longer.
92 (tramp-file-name-handler): Make special attention when in hostname 94 (tramp-file-name-handler): Make special attention when in hostname
93 completion mode. 95 completion mode.
94 (tramp-completion-file-name-handler): Revert patch from 2006-04-28. 96 (tramp-completion-file-name-handler): Revert patch from 2006-04-28.
95 (tramp-register-file-name-handlers): Register 97 (tramp-register-file-name-handlers):
96 `tramp-completion-file-name-handler' only when 98 Register `tramp-completion-file-name-handler' only when
97 `partial-completion-mode is enabled. 99 `partial-completion-mode' is enabled.
98 (tramp-completion-handle-file-name-all-completions): 100 (tramp-completion-handle-file-name-all-completions):
99 Delete directory part from results. 101 Delete directory part from results.
100 (tramp-get-completion-methods, tramp-get-completion-user-host): 102 (tramp-get-completion-methods, tramp-get-completion-user-host):
@@ -108,8 +110,8 @@
108 110
1092006-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 1112006-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
110 112
111 * term/mac-win.el (mac-ae-open-documents, mac-drag-n-drop): Use 113 * term/mac-win.el (mac-ae-open-documents, mac-drag-n-drop):
112 select-frame-set-input-focus instead of raise-frame. 114 Use select-frame-set-input-focus instead of raise-frame.
113 (global-map): Bind M-drag-n-drop to mac-drag-n-drop. 115 (global-map): Bind M-drag-n-drop to mac-drag-n-drop.
114 116
1152006-05-01 Nick Roberts <nickrob@snap.net.nz> 1172006-05-01 Nick Roberts <nickrob@snap.net.nz>
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el
index e92bb1053a6..950e0cba06f 100644
--- a/lisp/progmodes/perl-mode.el
+++ b/lisp/progmodes/perl-mode.el
@@ -923,8 +923,9 @@ Returns new value of point in all cases."
923 (or arg (setq arg 1)) 923 (or arg (setq arg 1))
924 (if (< arg 0) (forward-char 1)) 924 (if (< arg 0) (forward-char 1))
925 (and (/= arg 0) 925 (and (/= arg 0)
926 (re-search-backward "^\\s(\\|^\\s-*sub\\b[^{]+{\\|^\\s-*format\\b[^=]*=\\|^\\." 926 (re-search-backward
927 nil 'move arg) 927 "^\\s(\\|^\\s-*sub\\b[ \t\n]*\\_<[^{]+{\\|^\\s-*format\\b[^=]*=\\|^\\."
928 nil 'move arg)
928 (goto-char (1- (match-end 0)))) 929 (goto-char (1- (match-end 0))))
929 (point)) 930 (point))
930 931