Gnus development mailing list
 help / color / mirror / Atom feed
* [gnus 5.2.7] custom.el
@ 1996-06-05  8:37 守岡 知彦 / MORIOKA Tomohiko
  1996-06-05  9:17 ` Per Abrahamsen
  0 siblings, 1 reply; 4+ messages in thread
From: 守岡 知彦 / MORIOKA Tomohiko @ 1996-06-05  8:37 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 239 bytes --]

  Default setting of dgnushack.el occurs errors because variable
`custom-file' indicates "/dev/null".

  In my environment, /dev/null is readable so check code of custom.el
does not work. So I write following code. Do you think about it?


[-- Attachment #2: custom.el.diff --]
[-- Type: application/octet-stream, Size: 592 bytes --]

*** custom.el~	Wed Jun  5 03:10:19 1996
--- custom.el	Wed Jun  5 17:24:29 1996
***************
*** 2461,2467 ****
  		     (not (string-match "XEmacs" emacs-version)))
  (custom-category-put 'custom-hidden-properties intangible t)
  
! (if (file-readable-p custom-file)
      (load-file custom-file))
  
  (provide 'custom)
--- 2461,2468 ----
  		     (not (string-match "XEmacs" emacs-version)))
  (custom-category-put 'custom-hidden-properties intangible t)
  
! (if (and (file-readable-p custom-file)
! 	 (file-regular-p custom-file))
      (load-file custom-file))
  
  (provide 'custom)

[-- Attachment #3: Type: text/plain, Size: 335 bytes --]


  Thanks,
----------------------------------------------------------------------
MORIOKA Tomohiko <morioka@jaist.ac.jp>
        Japan advanced Institute of Science and Technology, Hokuriku
                Asahi-dai, Tatsu-no-kuchi chô, Nomi, Ishikawa, Japan
----------------------------------------- Frisch, Frei, Freöhlich! ---

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1996-06-05 10:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-06-05  8:37 [gnus 5.2.7] custom.el 守岡 知彦 / MORIOKA Tomohiko
1996-06-05  9:17 ` Per Abrahamsen
1996-06-05 10:23   ` 守岡 知彦 / MORIOKA Tomohiko
1996-06-05 10:52   ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).