View Review Details


Book:   Writing GNU Emacs Extensions
Subject:   Writing GNU Emacs Extensions Review
Date:   1998-03-21 00:00:00
From:   Jonathan Headland


?27?
In the function clobber-symlink, shouldn't
the prompt text for yes-or-no-p be more like:


(format "Disconnect %s from %s? "
buffer-file-name
target)


rather than:


(format "Replace %s with %s? "
buffer-file-name
target)


since the contents of target are never written
into buffer-file-name (and one wouldn't want
to either, since that would lose any unsaved
edits in the buffer)?


The code works fine, it's the prompt that seems
to be misleading.


See larger cover