summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-05-01 13:25:47 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-05-01 13:25:47 +0300
commit8d976f632859dcab79b434f0051e6642d0ed8713 (patch)
tree432c9b3fc498bca583aa0d0f8a4c966623731d36
parentterminal-here-terminal-window-name: Add directory. (diff)
downloademacs-terminal-here-8d976f632859dcab79b434f0051e6642d0ed8713.tar.gz
terminal-here: Use car instead of first.
* terminal-here.el (terminal-here-terminal-window-name): Use car instead of first.
-rw-r--r--terminal-here.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/terminal-here.el b/terminal-here.el
index b713b26..2107dfd 100644
--- a/terminal-here.el
+++ b/terminal-here.el
@@ -149,7 +149,7 @@ If new is f attach to a multiplexer session called `dir'."
(defun terminal-here-terminal-window-name (command dir)
"Return a window name. "
- (let ((command (first command)))
+ (let ((command (car command)))
(cond ((string-equal command "xterm")
(list "-title" (mapconcat 'identity
(list command dir)