diff lisp/sunpro/sunpro-init.el @ 185:3d6bfa290dbd r20-3b19

Import from CVS: tag r20-3b19
author cvs
date Mon, 13 Aug 2007 09:55:28 +0200
parents 54cc21c15cbb
children 489f57a838ef
line wrap: on
line diff
--- a/lisp/sunpro/sunpro-init.el	Mon Aug 13 09:54:24 2007 +0200
+++ b/lisp/sunpro/sunpro-init.el	Mon Aug 13 09:55:28 2007 +0200
@@ -127,24 +127,24 @@
               (setq internal-doc-file-name mule-doc-file-name))))
 
     ;; Connect to tooltalk, but only on an X server.
-    (and (featurep 'tooltalk)
-         (fboundp 'command-line-do-tooltalk)
-	 (eq 'x (device-type))
-         (command-line-do-tooltalk nil))
+    (when (and (featurep 'tooltalk)
+	       (fboundp 'command-line-do-tooltalk)
+	       (eq 'x (device-type)))
+      (command-line-do-tooltalk nil))
     
     ;; Sun's pending-del default is like textedit's
     (require 'pending-del)
-    (pending-delete-on nil)
+    (turn-on-pending-delete)
     
     ;; Bar cursor 2 pixels wide
     (setq bar-cursor 2)
 
     ;; Nice CDE compliant icon -- now the default...
-    ;(if (featurep 'xpm)
-    ;    (set-glyph-image
-    ;     frame-icon-glyph
-    ;     (format "%s%s" data-directory "xemacs-icon3.xpm")
-    ;     'global 'x))
+    ;;(if (featurep 'xpm)
+    ;;    (set-glyph-image
+    ;;     frame-icon-glyph
+    ;;     (format "%s%s" data-directory "xemacs-icon3.xpm")
+    ;;     'global 'x))
     
     (cond
      ;; Use Sun WorkShop if available