Procházet zdrojové kódy

show user@host in minibuffer

pull/1/head
10sr před 10 roky
rodič
revize
eeb947b3fd
1 změnil soubory, kde provedl 11 přidání a 1 odebrání
  1. +11
    -1
      emacs.el

+ 11
- 1
emacs.el Zobrazit soubor

@@ -2056,5 +2056,15 @@ this is test, does not rename files"
;; (defadvice message (before message-for-stupid (arg &rest arg2) activate)
;; (setq arg
;; (concat arg
;; (if (eq nil (string-match "\\. *$" arg)) ".")
;; (if (eq nil
;; (string-match "\\. *$"
;; arg))
;; ".")
;; " Stupid!")))

;; show usename and hostname when prompting something in minibuffer
(defadvice read-from-minibuffer
(before message-for-stupid (prompt &rest args) activate)
(setq prompt
(concat "[" user-login-name "@" system-name "] "
prompt)))

Načítá se…
Zrušit
Uložit