]> git.eshelyaron.com Git - emacs.git/commitdiff
(set-auto-mode): (setq name) -> (setq name nil).
authorAlan Mackenzie <acm@muc.de>
Sat, 18 Jul 2009 20:14:20 +0000 (20:14 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 18 Jul 2009 20:14:20 +0000 (20:14 +0000)
lisp/files.el

index fd3e447461d62dffb470d2604e52f24d02e1bab3..a58580a8bf76c5c68c9bb8a985571b6e4820eced 100644 (file)
@@ -2550,7 +2550,7 @@ we don't actually set it to the same mode the buffer already has."
                       (cadr mode))
                  (setq mode (car mode)
                        name (substring name 0 (match-beginning 0)))
-               (setq name))
+               (setq name nil))
              (when mode
                (set-auto-mode-0 mode keep-mode-if-same)
                (setq done t))))))