all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emilio C. Lopes <eclig@gmx.net>
Subject: Re: no such var: user-emacs-directory
Date: Mon, 8 Aug 2005 17:00:42 +0000 (UTC)	[thread overview]
Message-ID: <loom.20050808T185628-459@post.gmane.org> (raw)
In-Reply-To: jkoe88fyad.fsf@glug.org

Thien-Thi Nguyen <ttn@gnu.org> writes:

> `scheme-start-file' in cmuscheme.el now references `user-emacs-directory'
> but that variable is never defined anywhere.  the NEWS blurb mentions it,
> although the docstring says "~/.emacs.d".

I submitted these changes, so it was my fault.  Could someone please
apply the following patch?

Thanks and sorry for any inconvenience.

2005-08-08  Emilio C. Lopes  <eclig@gmx.net>

	* cmuscheme.el (scheme-start-file): replaced reference to
	`user-emacs-directory' by "~/.emacs.d/".


*** orig/etc/NEWS
--- mod/etc/NEWS
***************
*** 1757,1763 ****
  evaluate a Scheme expression but no Scheme subprocess is running.
  
  *** If a file `.emacs_NAME' (where NAME is the name of the Scheme interpreter)
! exists in the user's home directory or in `user-emacs-directory', its
  contents are sent to the Scheme subprocess upon startup.
  
  *** There are new commands to instruct the Scheme interpreter to trace
--- 1757,1763 ----
  evaluate a Scheme expression but no Scheme subprocess is running.
  
  *** If a file `.emacs_NAME' (where NAME is the name of the Scheme interpreter)
! exists in the user's home directory or in ~/.emacs.d, its
  contents are sent to the Scheme subprocess upon startup.
  
  *** There are new commands to instruct the Scheme interpreter to trace


*** orig/lisp/cmuscheme.el
--- mod/lisp/cmuscheme.el
***************
*** 272,278 ****
           (start-file (concat "~/" name)))
      (if (file-exists-p start-file)
          start-file
!       (let ((start-file (concat user-emacs-directory name)))
          (and (file-exists-p start-file) start-file)))))
  
  (defun scheme-send-region (start end)
--- 272,278 ----
           (start-file (concat "~/" name)))
      (if (file-exists-p start-file)
          start-file
!       (let ((start-file (concat "~/.emacs.d/" name)))
          (and (file-exists-p start-file) start-file)))))
  
  (defun scheme-send-region (start end)

      parent reply	other threads:[~2005-08-08 17:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-08 11:44 no such var: user-emacs-directory Thien-Thi Nguyen
2005-08-08 16:33 ` Stuart D. Herring
2005-08-08 18:22   ` Thien-Thi Nguyen
2005-08-08 17:00 ` Emilio C. Lopes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20050808T185628-459@post.gmane.org \
    --to=eclig@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.