{"action":"closed","issue":{"url":"https://api.github.com/repos/ejmr/php-mode/issues/264","labels_url":"https://api.github.com/repos/ejmr/php-mode/issues/264/labels{/name}","comments_url":"https://api.github.com/repos/ejmr/php-mode/issues/264/comments","events_url":"https://api.github.com/repos/ejmr/php-mode/issues/264/events","html_url":"https://github.com/ejmr/php-mode/issues/264","id":97893783,"number":264,"title":"eval-buffer fails at php-mode-test.el","user":{"login":"andreas-roehler","id":1173139,"avatar_url":"https://avatars.githubusercontent.com/u/1173139?v=3","gravatar_id":"","url":"https://api.github.com/users/andreas-roehler","html_url":"https://github.com/andreas-roehler","followers_url":"https://api.github.com/users/andreas-roehler/followers","following_url":"https://api.github.com/users/andreas-roehler/following{/other_user}","gists_url":"https://api.github.com/users/andreas-roehler/gists{/gist_id}","starred_url":"https://api.github.com/users/andreas-roehler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreas-roehler/subscriptions","organizations_url":"https://api.github.com/users/andreas-roehler/orgs","repos_url":"https://api.github.com/users/andreas-roehler/repos","events_url":"https://api.github.com/users/andreas-roehler/events{/privacy}","received_events_url":"https://api.github.com/users/andreas-roehler/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-29T09:22:47Z","updated_at":"2015-07-30T02:39:23Z","closed_at":"2015-07-30T02:39:23Z","body":"Current implementation of php-mode-test-dir is not reliable, when interactively evaluated,\r\nload-file-name doesn't exist\r\n\r\nDebugger entered--Lisp error: (wrong-type-argument stringp nil)\r\n  file-name-directory(nil)\r\n  (expand-file-name \"tests\" (file-name-directory load-file-name))\r\n  (defvar php-mode-test-dir (expand-file-name \"tests\" (file-name-directory load-file-name)) \"Directory containing the `php-mode' test files.\")\r\n  eval-buffer()  ; Reading at buffer position 1396\r\n  call-interactively(eval-buffer record nil)\r\n  command-execute(eval-buffer record)\r\n  execute-extended-command(nil \"eval-buffer\")\r\n  call-interactively(execute-extended-command nil nil)\r\n  command-execute(execute-extended-command)\r\n"}}