~ubuntu-branches/ubuntu/karmic/mew-beta/karmic

« back to all changes in this revision

Viewing changes to mew-highlight.el

  • Committer: Bazaar Package Importer
  • Author(s): Tatsuya Kinoshita
  • Date: 2007-11-29 22:05:35 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20071129220535-g1s8e3pe8vloobhu
Tags: 5.2.51+0.20071129-1
New upstream release. (CVS trunk on 2007-11-29)

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
                (save-excursion (beginning-of-line) (point)))))
39
39
 
40
40
(defun mew-unhighlight-cursor-line ()
41
 
  (if (overlayp (mew-sinfo-get-cursor-line))
42
 
      (move-overlay (mew-sinfo-get-cursor-line) 1 1)))
 
41
  (when (overlayp (mew-sinfo-get-cursor-line))
 
42
    (move-overlay (mew-sinfo-get-cursor-line) 1 1)
 
43
    ;; (goto-char (point-max)) works wrong if underline exists.
 
44
    ;; Redisplays it so that it works well.
 
45
    ;; (sit-for 0)
 
46
    ;; This code rocks Summary mode when typing "x", sigh.
 
47
    ))
43
48
 
44
49
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
45
50
;;;