Changeset 4169 for trunk/lisp/progmodes/compile.el
- Timestamp:
- 2006年09月30日 09時12分06秒 (2 years ago)
- Files:
-
- trunk/lisp (modified) (1 prop)
- trunk/lisp/progmodes/compile.el (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lisp
- Property svn:ignore changed from
*.elc
MANIFEST
Makefile
Makefile.unix
makefile
elc.tar.gz
cus-load.el
finder-inf.el
subdirs.el
loaddefs.el
to
*.elc
MANIFEST
Makefile
Makefile.unix
makefile
elc.tar.gz
cus-load.el
finder-inf.el
subdirs.el
loaddefs.el
pre-mh-loaddefs.el-CMD
- Property svn:ignore changed from
trunk/lisp/progmodes/compile.el
r4166 r4169 1785 1785 (move-overlay compilation-highlight-overlay 1786 1786 (point) end (current-buffer))) 1787 (if (numberp next-error-highlight) 1788 (setq next-error-highlight-timer 1789 (run-at-time next-error-highlight nil 'delete-overlay 1790 compilation-highlight-overlay))) 1791 (if (not (or (eq next-error-highlight t) 1792 (numberp next-error-highlight))) 1793 (delete-overlay compilation-highlight-overlay)))))) 1787 (if (or (eq next-error-highlight t) 1788 (numberp next-error-highlight)) 1789 ;; We want highlighting: delete overlay on next input. 1790 (add-hook 'pre-command-hook 1791 'compilation-goto-locus-delete-o) 1792 ;; We don't want highlighting: delete overlay now. 1793 (delete-overlay compilation-highlight-overlay)) 1794 ;; We want highlighting for a limited time: 1795 ;; set up a timer to delete it. 1796 (when (numberp next-error-highlight) 1797 (setq next-error-highlight-timer 1798 (run-at-time next-error-highlight nil 1799 'compilation-goto-locus-delete-o))))))) 1794 1800 (when (and (eq next-error-highlight 'fringe-arrow)) 1801 ;; We want a fringe arrow (instead of highlighting). 1795 1802 (setq next-error-overlay-arrow-position 1796 1803 (copy-marker (line-beginning-position)))))) 1797 1804 1805 (defun compilation-goto-locus-delete-o () 1806 (delete-overlay compilation-highlight-overlay) 1807 ;; Get rid of timer and hook that would try to do this again. 1808 (if (timerp next-error-highlight-timer) 1809 (cancel-timer next-error-highlight-timer)) 1810 (remove-hook 'pre-command-hook 1811 'compilation-goto-locus-delete-o)) 1798 1812 1799 1813 (defun compilation-find-file (marker filename directory &rest formats)
