aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog15
-rw-r--r--lisp/progmodes/sh-script.el11
2 files changed, 20 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fcb0d9859be..103f6dcfd5b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12012-07-18 Masatake YAMATO <yamato@redhat.com>
2
3 * progmodes/sh-script.el (sh-imenu-generic-expression):
4 Capture a function with `function' keyword and without parentheses
5 like "function FOO" (bug#11856).
6
12012-07-18 Tassilo Horn <tassilo@member.fsf.org> 72012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2 8
3 * window.el (split-window-sensibly): Make WINDOW argument 9 * window.el (split-window-sensibly): Make WINDOW argument
@@ -51,9 +57,10 @@
51 * descr-text.el (describe-char): Fix format args. (Bug#10129) 57 * descr-text.el (describe-char): Fix format args. (Bug#10129)
52 58
532012-07-17 Fabián Ezequiel Gallina <fgallina@cuca> 592012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
60
54 Final renames and doc fixes for movement commands (bug#11899). 61 Final renames and doc fixes for movement commands (bug#11899).
55 * progmodes/python.el (python-nav-beginning-of-statement): Rename 62 * progmodes/python.el (python-nav-beginning-of-statement):
56 from python-nav-statement-start. 63 Rename from python-nav-statement-start.
57 (python-nav-end-of-statement): Rename from 64 (python-nav-end-of-statement): Rename from
58 python-nav-statement-end. 65 python-nav-statement-end.
59 (python-nav-beginning-of-block): Rename from 66 (python-nav-beginning-of-block): Rename from
@@ -62,8 +69,8 @@
62 69
632012-07-17 Fabián Ezequiel Gallina <fgallina@cuca> 702012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
64 71
65 * progmodes/python.el (python-shell-send-string-no-output): Allow 72 * progmodes/python.el (python-shell-send-string-no-output):
66 accept-process-output to quit, keeping shell process ready for 73 Allow accept-process-output to quit, keeping shell process ready for
67 future interactions (Bug#11868). 74 future interactions (Bug#11868).
68 75
692012-07-17 Stefan Monnier <monnier@iro.umontreal.ca> 762012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index be664c6fc6e..a713539cd8e 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -327,8 +327,15 @@ shell it really is."
327(defcustom sh-imenu-generic-expression 327(defcustom sh-imenu-generic-expression
328 `((sh 328 `((sh
329 . ((nil 329 . ((nil
330 "^\\s-*\\(function\\s-+\\)?\\([[:alpha:]_][[:alnum:]_]+\\)\\s-*()" 330 ;; function FOO
331 2)))) 331 ;; function FOO()
332 "^\\s-*function\\s-+\\\([[:alpha:]_][[:alnum:]_]+\\)\\s-*\\(?:()\\)?"
333 1)
334 ;; FOO()
335 (nil
336 "^\\s-*\\([[:alpha:]_][[:alnum:]_]+\\)\\s-*()"
337 1)
338 )))
332 "Alist of regular expressions for recognizing shell function definitions. 339 "Alist of regular expressions for recognizing shell function definitions.
333See `sh-feature' and `imenu-generic-expression'." 340See `sh-feature' and `imenu-generic-expression'."
334 :type '(alist :key-type (symbol :tag "Shell") 341 :type '(alist :key-type (symbol :tag "Shell")