]> code.delx.au - gnu-emacs/commitdiff
* net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 13 Dec 2012 08:42:25 +0000 (09:42 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 13 Dec 2012 08:42:25 +0000 (09:42 +0100)
Otherwise, there could be errors in autoloading.  (Bug#13151)

lisp/ChangeLog
lisp/net/tramp-adb.el

index cfc1601b098320201752dd9995af3e51c808c580..22069406451a645ccf35bdf5e257e37ce031111d 100644 (file)
@@ -1,3 +1,8 @@
+2012-12-13  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
+       Otherwise, there could be errors in autoloading.  (Bug#13151)
+
 2012-12-13  Jürgen Hötzel  <juergen@archlinux.org>
 
        * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
index b5b31828bb163f2d5f3cfd781fd94773f7d252bf..5d13d56f638e4c978ed78a3794753dc1f5dab91b 100644 (file)
   "Alist of handler functions for Tramp ADB method.")
 
 ;;;###tramp-autoload
-(defun tramp-adb-file-name-p (filename)
+(defsubst tramp-adb-file-name-p (filename)
   "Check if it's a filename for ADB."
   (let ((v (tramp-dissect-file-name filename)))
     (string= (tramp-file-name-method v) tramp-adb-method)))