Browse Source

Fixed the problem with ido/untabify defadvice triggering got redefined error

custom
Andrzej Pronobis 11 years ago
parent
commit
925ed507b1
  1. 1
      core/prelude-core.el
  2. 1
      core/prelude-editor.el

1
core/prelude-core.el

@ -285,6 +285,7 @@ there's a region, all lines that region covers will be duplicated."
(interactive)
(byte-recompile-directory prelude-dir 0))
(require 'ido)
(defun prelude-sudo-edit (&optional arg)
"Edit currently visited file as root.

1
core/prelude-editor.el

@ -298,6 +298,7 @@ The body of the advice is in BODY."
(interactive
(list (not (region-active-p)))))
(require 'tabify)
(defmacro with-region-or-buffer (func)
"When called with no active region, call FUNC on current buffer."
`(defadvice ,func (before with-region-or-buffer activate compile)

Loading…
Cancel
Save