chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3a87e7e
)
el/dot-emacs.el (date): Use primitive `delete-char' to remove newline.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 13 Sep 2019 16:07:07 +0000
(17:07 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 13 Sep 2019 16:07:07 +0000
(17:07 +0100)
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index a3bc6f3427607d1c43c1e497adc2a9ededd52be8..0f4d086ce9beed0a4c2e9d6b504a7a3717736a10 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-908,7
+908,7
@@
(defun date ()
(erase-buffer)
(shell-command "date +%Y-%m-%d" t)
(goto-char (mark))
(erase-buffer)
(shell-command "date +%Y-%m-%d" t)
(goto-char (mark))
- (delete-
backward-char
1)
+ (delete-
char -
1)
(buffer-string))
(kill-buffer buffer))))))
(buffer-string))
(kill-buffer buffer))))))