فهرست منبع

XEmacs compatibility checks

XEmacs does not implement make-network-process, so this won't work there yet.
Added a check for the feature, and modified docs to mention this.
Christopher Browne 14 سال پیش
والد
کامیت
8ffead403b
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      edit-server.el

+ 3 - 0
edit-server.el

@@ -38,6 +38,9 @@
 ;(setq debug-on-error 't)
 ;(setq edebug-all-defs 't)
 
+(if (not (featurep 'make-network-process))
+    (error "Incompatible version of [X]Emacs - lacks make-network-process"))
+
 ;; Customization
 (defcustom edit-server-port 9292
   "Local port the edit server listens to."