diff lisp/prim/device.el @ 173:8eaf7971accc r20-3b13

Import from CVS: tag r20-3b13
author cvs
date Mon, 13 Aug 2007 09:49:09 +0200
parents 8619ce7e4c50
children
line wrap: on
line diff
--- a/lisp/prim/device.el	Mon Aug 13 09:47:55 2007 +0200
+++ b/lisp/prim/device.el	Mon Aug 13 09:49:09 2007 +0200
@@ -26,7 +26,7 @@
 
 (defun device-list ()
   "Return a list of all devices."
-  (apply 'append (mapcar 'console-device-list (console-list))))
+  (apply 'nconc (mapcar 'console-device-list (console-list))))
 
 (defun device-type (&optional device)
   "Return the type of the specified device (e.g. `x' or `tty').