]> code.delx.au - gnu-emacs/blobdiff - lisp/files-x.el
w32.c (sys_open): Don't reset the flags for FD in fd_info[].
[gnu-emacs] / lisp / files-x.el
index a6320b32e50b65e73b077e6edd93f7767d58b517..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))
@@ -149,7 +149,7 @@ from the Local Variables list ignoring the input argument VALUE."
 
        (goto-char (point-max))
        (let ((comment-style 'plain)
-             (comment-start (or comment-start ";;; ")))
+             (comment-start (or comment-start ";; ")))
          (comment-region
           (prog1 (setq beg (point))
             (insert "\nLocal Variables:\nEnd:\n"))