refactor: Simplify ‘p4-lowlevel-command-into-buffer’
This commit is contained in:
parent
2fb2806708
commit
dd6e57b1e5
1 changed files with 2 additions and 3 deletions
|
@ -352,9 +352,8 @@ that buffer. Returns the buffer."
|
|||
(defun p4-lowlevel-command-messages ()
|
||||
"Return t if ‘vc-command-messages’ bound and true.
|
||||
Fall back to the value of ‘p4-lowlevel-command-messages’."
|
||||
(if (and (boundp 'vc-command-messages) vc-command-messages)
|
||||
t
|
||||
p4-lowlevel-command-messages))
|
||||
(or (bound-and-true-p vc-command-messages)
|
||||
p4-lowlevel-command-messages))
|
||||
|
||||
(defun p4-lowlevel-canonicalize-revision (rev)
|
||||
"Turn REV into a form which can be concatenated to file names in P4 commands."
|
||||
|
|
Loading…
Reference in a new issue