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:
b52be1a
)
el/dot-emacs.el: Arrange for Slime to name me better.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 4 Aug 2020 09:48:38 +0000
(10:48 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 4 Aug 2020 09:49:13 +0000
(10:49 +0100)
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index 4b4be863410d38c992eca13037ecd7549dfefcbf..c53befffa2f79a300d41bfead30439228672c7a7 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-4310,6
+4310,13
@@
(defun mdw-fontify-lispy ()
;; SLIME setup.
+(defvar mdw-friendly-name "[mdw]"
+ "How I want to be addressed.")
+(defadvice slime-user-first-name
+ (around mdw-use-friendly-name compile activate)
+ (if mdw-friendly-name (setq ad-return-value mdw-friendly-name)
+ ad-do-it))
+
(trap
(if (not mdw-fast-startup)
(progn