aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2006-10-04 04:13:09 +0000
committerStefan Monnier2006-10-04 04:13:09 +0000
commit7629d4170a94ea69801640850420da0ba561b455 (patch)
treebd1e2ed99f44a4bf5a3a739f95c72b78c2b051f4
parent865a5bbc94590593cdbd945af90c07332a680f05 (diff)
downloademacs-7629d4170a94ea69801640850420da0ba561b455.tar.gz
emacs-7629d4170a94ea69801640850420da0ba561b455.zip
(sh-prev-thing): Remove (forward-char 1) now
that it's been made unnecessary by removing narrowing.
-rw-r--r--lisp/ChangeLog11
-rw-r--r--lisp/progmodes/sh-script.el4
2 files changed, 7 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6c00cbada7a..d62f5640da5 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12006-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/sh-script.el (sh-prev-thing): Remove (forward-char 1) now
4 that it's been made unnecessary by removing narrowing.
5
12006-10-03 Stefan Monnier <monnier@iro.umontreal.ca> 62006-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2 7
3 * progmodes/sh-script.el (sh-prev-thing): Massage to untangle the 8 * progmodes/sh-script.el (sh-prev-thing): Massage to untangle the
@@ -285,8 +290,7 @@
285 290
2862006-09-22 Chong Yidong <cyd@stupidchicken.com> 2912006-09-22 Chong Yidong <cyd@stupidchicken.com>
287 292
288 * files.el (save-some-buffers-action-alist): Display diff in 293 * files.el (save-some-buffers-action-alist): Display diff in view-mode.
289 view-mode.
290 294
2912006-09-22 Masatake YAMATO <jet@gyve.org> 2952006-09-22 Masatake YAMATO <jet@gyve.org>
292 296
@@ -320,8 +324,7 @@
320 324
3212006-09-20 Kenichi Handa <handa@m17n.org> 3252006-09-20 Kenichi Handa <handa@m17n.org>
322 326
323 * isearch.el (isearch-process-search-char): Cancel the previous 327 * isearch.el (isearch-process-search-char): Cancel the previous change.
324 change.
325 (isearch-search-string): New function. 328 (isearch-search-string): New function.
326 (isearch-search): Use isearch-search-string. 329 (isearch-search): Use isearch-search-string.
327 (isearch-lazy-highlight-search): Likewise. 330 (isearch-lazy-highlight-search): Likewise.
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index e1c17548959..a15cc216f75 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -2492,10 +2492,6 @@ we go to the end of the previous line and do not check for continuations."
2492 (if next (setq boundary next)) 2492 (if next (setq boundary next))
2493 (sh-debug "Now at %d start=%d" (point) start) 2493 (sh-debug "Now at %d start=%d" (point) start)
2494 (setq kwd (sh-get-word)) 2494 (setq kwd (sh-get-word))
2495 ;; The reason for this next line is unclear.
2496 ;; <md5i@cs.cmu.edu> says "the need for this was
2497 ;; expermientally determined". --Stef
2498 (when (< (point) start) (forward-char 1))
2499 (if (member kwd (sh-feature sh-leading-keywords)) 2495 (if (member kwd (sh-feature sh-leading-keywords))
2500 (progn 2496 (progn
2501 (setq next (point)) 2497 (setq next (point))