Fix user-full-name and user-mail-address (they were mixed up)

This commit is contained in:
Ivan Malison 2014-12-14 02:39:02 -08:00
parent b14d826809
commit 1acc20ffab

View File

@ -9,10 +9,10 @@
(setq user-full-name
(replace-regexp-in-string "\n$" "" (shell-command-to-string
"git config --get user.email")))
"git config --get user.name")))
(setq user-mail-address
(replace-regexp-in-string "\n$" "" (shell-command-to-string
"git config --get user.name")))
"git config --get user.email")))
(defun emacs24_4-p ()
(or (and (>= emacs-major-version 24)
@ -809,12 +809,6 @@ The current directory is assumed to be the project's root otherwise."
(add-hook 'mu4e-compose-mode-hook
(defun my-do-compose-stuff () (flyspell-mode)))
(setq
mu4e-compose-signature
(concat
"Ivan Malison\n"
"https://github.com/IvanMalison"))
(require 'smtpmail)
;; alternatively, for emacs-24 you can use: