Subject: bug#9879: 23.3; making script executable with tramp

From: Dan Gildea <[email-masked]>
Date: Wed, 26 Oct 2011 14:48:31 -0400

emacs -Q

(add-hook 'after-save-hook
'executable-make-buffer-file-executable-if-script-p)

open new remote file with tramp with name ending in .sh

add #!/bin/bash

save file

receive following error message:
executable-make-buffer-file-executable-if-script-p: Wrong type
argument: number-or-marker-p, nil