comparison lisp/vc-dispatcher.el @ 94817:0977154ddbe5

Suppress an annoying warning.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Fri, 09 May 2008 19:10:29 +0000
parents 47dff47e1b61
children aa24238f3274
comparison
equal deleted inserted replaced
94816:3b9ee5aefff7 94817:0977154ddbe5
106 ;; dispatcher resynchs the buffer. 106 ;; dispatcher resynchs the buffer.
107 107
108 ;; To do: 108 ;; To do:
109 ;; 109 ;;
110 ;; - vc-dir-kill-dir-status-process should not be specific to dir-status, 110 ;; - vc-dir-kill-dir-status-process should not be specific to dir-status,
111 ;; it should work for other async commands as well (pull/push/...). 111 ;; it should work for other async commands done through vc-do-command
112 ;; as well,
112 ;; 113 ;;
113 ;; - the *VC-log* buffer needs font-locking. 114 ;; - the *VC-log* buffer needs font-locking.
114 ;; 115 ;;
115 ;; - vc-dir needs mouse bindings. 116 ;; - vc-dir needs mouse bindings.
116 ;; 117 ;;
117 ;; - vc-dir toolbar needs more icons. 118 ;; - vc-dir toolbar needs more icons.
118 ;; 119 ;;
119 ;; - vc-dir-next-line should not print an "end of buffer" message when
120 ;; invoked with the cursor on the last file.
121 ;;
122 ;; - add commands to move to the prev/next directory in vc-dir. 120 ;; - add commands to move to the prev/next directory in vc-dir.
123 ;; 121 ;;
124 ;; - document vc-dir in the manual. 122 ;; - document vc-dir in the manual.
123 ;;
124 ;; - vc-dir-menu-map-filter hook call needs to be moved to vc.el.
125 ;; 125 ;;
126 126
127 (provide 'vc-dispatcher) 127 (provide 'vc-dispatcher)
128 128
129 (eval-when-compile 129 (eval-when-compile
919 919
920 (defun vc-dir-next-line (arg) 920 (defun vc-dir-next-line (arg)
921 "Go to the next line. 921 "Go to the next line.
922 If a prefix argument is given, move by that many lines." 922 If a prefix argument is given, move by that many lines."
923 (interactive "p") 923 (interactive "p")
924 (ewoc-goto-next vc-ewoc arg) 924 (with-no-warnings
925 (vc-dir-move-to-goal-column)) 925 (ewoc-goto-next vc-ewoc arg)
926 (vc-dir-move-to-goal-column)))
926 927
927 (defun vc-dir-previous-line (arg) 928 (defun vc-dir-previous-line (arg)
928 "Go to the previous line. 929 "Go to the previous line.
929 If a prefix argument is given, move by that many lines." 930 If a prefix argument is given, move by that many lines."
930 (interactive "p") 931 (interactive "p")