]> code.delx.au - gnu-emacs/blobdiff - lisp/files-x.el
* lisp/doc-view.el (doc-view-current-cache-dir): Beware % escapes.
[gnu-emacs] / lisp / files-x.el
index ca8470971848d4939879f2d6634982e748dfcb22..0ba245d423ab757c1e4fb2a39365030cccd7392b 100644 (file)
@@ -1,6 +1,6 @@
 ;;; files-x.el --- extended file handling commands
 
-;; Copyright (C) 2009-2011 Free Software Foundation, Inc.
+;; Copyright (C) 2009-2013 Free Software Foundation, Inc.
 
 ;; Author: Juri Linkov <juri@jurta.org>
 ;; Maintainer: FSF
@@ -49,7 +49,7 @@ Intended to be used in the `interactive' spec of
             (format "%s: " prompt))
           obarray
           (lambda (sym)
-            (or (user-variable-p sym)
+            (or (custom-variable-p sym)
                  (get sym 'safe-local-variable)
                 (memq sym '(mode eval coding unibyte))))
           nil nil nil default nil))