Browse Source

Fix a typo

custom
Bozhidar Batsov 13 years ago
parent
commit
3b5ac377a0
  1. 2
      core/prelude-editor.el

2
core/prelude-editor.el

@ -155,7 +155,7 @@ Will only occur if prelude-whitespace is also enabled."
(file-writable-p buffer-file-name)) (file-writable-p buffer-file-name))
(save-buffer))) (save-buffer)))
(defadvice switch-to-buffer (before save-buffer-now activate)
(defadvice switch-to-buffer (before switch-buffer-now activate)
"Invoke `prelude-auto-save-command' before `switch-to-window'." "Invoke `prelude-auto-save-command' before `switch-to-window'."
(prelude-auto-save-command)) (prelude-auto-save-command))
(defadvice other-window (before other-window-now activate) (defadvice other-window (before other-window-now activate)

Loading…
Cancel
Save