From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/6521 Path: main.gmane.org!not-for-mail From: =?ISO-2022-JP?B?GyRCPGkyLBsoQiAbJEJDTkknGyhC?= / MORIOKA Tomohiko Newsgroups: gmane.emacs.gnus.general Subject: [gnus 5.2.7] custom.el Date: Wed, 05 Jun 1996 17:37:14 JST Sender: morioka@jaist.ac.jp Message-ID: <199606050837.RAA26913@mikan.jaist.ac.jp> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (SEMI mime-edit 0.22) Content-Type: multipart/mixed; boundary="Multipart_Wed_Jun__5_17:37:11_1996-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035146963 3892 80.91.224.250 (20 Oct 2002 20:49:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:49:23 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id CAA06082 for ; Wed, 5 Jun 1996 02:15:32 -0700 Original-Received: from mikan.jaist.ac.jp (mikan.jaist.ac.jp [150.65.8.6]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 5 Jun 1996 10:37:21 +0200 Original-Received: from is28e1s91.jaist.ac.jp (MORIOKA Tomohiko ) by mikan.jaist.ac.jp (8.7.5); id RAA26913; Wed, 5 Jun 1996 17:37:15 +0900 (JST) X-MUA: mh-e 5.0.2 + tm-mh-e 7.63, tm-view 7.65 X-Emacs: Mule 2.3 =?ISO-2022-JP?B?KBskQkt2RSYyVhsoQik=?= based on 19.31 Original-To: ding@ifi.uio.no Xref: main.gmane.org gmane.emacs.gnus.general:6521 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:6521 --Multipart_Wed_Jun__5_17:37:11_1996-1 Content-Type: text/plain; charset=US-ASCII 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? --Multipart_Wed_Jun__5_17:37:11_1996-1 Content-Type: application/octet-stream; type=patch Content-Disposition: attachment; filename="custom.el.diff" Content-Transfer-Encoding: 7bit *** 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) --Multipart_Wed_Jun__5_17:37:11_1996-1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks, ---------------------------------------------------------------------- MORIOKA Tomohiko Japan advanced Institute of Science and Technology, Hokuriku Asahi-dai, Tatsu-no-kuchi ch=F4, Nomi, Ishikawa, Japan ----------------------------------------- Frisch, Frei, Fre=F6hlich! ---= --Multipart_Wed_Jun__5_17:37:11_1996-1--