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

This commit is contained in:
Andrzej Pronobis 2015-03-12 20:26:20 -07:00
parent b24bea01bf
commit 925ed507b1
2 changed files with 2 additions and 0 deletions

View file

@ -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.

View file

@ -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)