aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-04-05 00:15:13 +0000
committerDan Nicolaescu2008-04-05 00:15:13 +0000
commit90e9ca17a7b50e827171708901f0d38fbd53ed6b (patch)
tree74da7dd3cfa5c81e75c1c5a3d2151e78fc95d1c6
parentd926e68f197d0703b6c10693f89a352ac77e0b6a (diff)
downloademacs-90e9ca17a7b50e827171708901f0d38fbd53ed6b.tar.gz
emacs-90e9ca17a7b50e827171708901f0d38fbd53ed6b.zip
* vc-rcs.el (vc-rcs-dir-status):
* vc-sccs.el (vc-sccs-dir-status): New function.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/vc-rcs.el12
-rw-r--r--lisp/vc-sccs.el12
3 files changed, 27 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4709f56e1ca..cb09facc268 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12008-04-04 Dan Nicolaescu <dann@ics.uci.edu> 12008-04-04 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * vc-rcs.el (vc-rcs-dir-status):
4 * vc-sccs.el (vc-sccs-dir-status): New function.
5
3 * outline.el (outline-mode-menu-bar-map): 6 * outline.el (outline-mode-menu-bar-map):
4 * term.el (terminal-signal-menu): Add :help. 7 * term.el (terminal-signal-menu): Add :help.
5 8
diff --git a/lisp/vc-rcs.el b/lisp/vc-rcs.el
index b20240b25b7..387a8eaaf03 100644
--- a/lisp/vc-rcs.el
+++ b/lisp/vc-rcs.el
@@ -181,6 +181,18 @@ For a description of possible values, see `vc-check-master-templates'."
181 (vc-rcs-state file)))) 181 (vc-rcs-state file))))
182 (vc-rcs-state file))))) 182 (vc-rcs-state file)))))
183 183
184;; XXX Experimental function for the vc-dired replacement.
185(defun vc-rcs-dir-status (dir update-function status-buffer)
186 ;; XXX: quick hack, there should be a better way to do this,
187 ;; but it's not worse than vc-dired :-).
188 (let ((flist (vc-expand-dirs (list dir)))
189 (result nil))
190 (dolist (file flist)
191 (let ((state (vc-state file))
192 (frel (file-relative-name file)))
193 (push (list frel state) result)))
194 (funcall update-function result status-buffer)))
195
184(defun vc-rcs-working-revision (file) 196(defun vc-rcs-working-revision (file)
185 "RCS-specific version of `vc-working-revision'." 197 "RCS-specific version of `vc-working-revision'."
186 (or (and vc-consult-headers 198 (or (and vc-consult-headers
diff --git a/lisp/vc-sccs.el b/lisp/vc-sccs.el
index 0c1cc41ed64..22b73104d34 100644
--- a/lisp/vc-sccs.el
+++ b/lisp/vc-sccs.el
@@ -144,6 +144,18 @@ For a description of possible values, see `vc-check-master-templates'."
144 (vc-sccs-state file)))) 144 (vc-sccs-state file))))
145 (vc-sccs-state file))) 145 (vc-sccs-state file)))
146 146
147;; XXX Experimental function for the vc-dired replacement.
148(defun vc-sccs-dir-status (dir update-function status-buffer)
149 ;; XXX: quick hack, there should be a better way to do this,
150 ;; but it's not worse than vc-dired :-).
151 (let ((flist (vc-expand-dirs (list dir)))
152 (result nil))
153 (dolist (file flist)
154 (let ((state (vc-state file))
155 (frel (file-relative-name file)))
156 (push (list frel state) result)))
157 (funcall update-function result status-buffer)))
158
147(defun vc-sccs-working-revision (file) 159(defun vc-sccs-working-revision (file)
148 "SCCS-specific version of `vc-working-revision'." 160 "SCCS-specific version of `vc-working-revision'."
149 (with-temp-buffer 161 (with-temp-buffer