Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8951efef
Commit
8951efef
authored
Aug 06, 2013
by
Juanma Barranquero
Browse files
lisp/vc/vc.el: Silence byte-compiler warning.
parent
e30b79c1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
lisp/ChangeLog
lisp/ChangeLog
+3
-0
lisp/vc/vc.el
lisp/vc/vc.el
+5
-5
No files found.
lisp/ChangeLog
View file @
8951efef
2013-08-06 Juanma Barranquero <lekktu@gmail.com>
* vc/vc.el (vc-default-ignore-completion-table):
Silence byte-compiler warning.
* frameset.el (frameset-p): Don't check non-nullness of the `properties'
slot , which can indeed be nil.
(frameset-live-filter-alist, frameset-persistent-filter-alist):
...
...
lisp/vc/vc.el
View file @
8951efef
...
...
@@ -486,7 +486,7 @@
;; default implementation always returns nil.
;;
;; - root (file)
;;
;;
;; Return the root of the VC controlled hierarchy for file.
;;
;; - repository-hostname (dirname)
...
...
@@ -502,13 +502,13 @@
;; Ignore FILE under the current VCS. When called interactively and
;; with a prefix argument, remove an ignored file. When called from
;; Lisp code, if REMOVE is non-nil, remove FILE from ignored files."
;;
;;
;; - ignore-completion-table
;;
;;
;; Return the completion table for files ignored by the current
;; version control system, e.g., the entries in `.gitignore' and
;; `.bzrignore'.
;;
;;
;; - previous-revision (file rev)
;;
;; Return the revision number that precedes REV for FILE, or nil if no such
...
...
@@ -1365,7 +1365,7 @@ non-nil, remove FILE from ignored files."
(
setq
backend
(
vc-backend
directory
))
(
vc-call-backend
backend
'ignore
file
default-directory
remove
))))
(
defun
vc-default-ignore-completion-table
(
file
)
(
defun
vc-default-ignore-completion-table
(
_
file
)
"Return the list of ignored files."
;; Unused lexical argument `file'
nil
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment