Permalink
Browse files

Don't let hooks interfere with autoload generation.

Solves chicken-or-egg problem reported by remvee.
  • Loading branch information...
1 parent a4a57d5 commit 0eb65fef149fd7a7c786371aea1c9b76829b73a1 @technomancy committed May 26, 2009
Showing with 6 additions and 5 deletions.
  1. +1 −1 elpa-to-submit/scpaste.el
  2. +2 −1 starter-kit-defuns.el
  3. +3 −3 starter-kit-lisp.el
@@ -90,7 +90,7 @@ You must have write-access to this directory via `scp'.")
(concat "<p style='font-size: 8pt; font-family: monospace;'>Generated by "
user-full-name
" using <a href='http://p.hagelb.org'>scpaste</a> at %s. "
- (cadr (current-time-zone)) ". (<a href='%s'>original</a>)</p>")
+ (cadr (current-time-zone)) ". (<a href='%s'>raw</a>)</p>")
"HTML message to place at the bottom of each file.")
(defvar scpaste-tmp-dir "/tmp"
@@ -155,7 +155,8 @@ Symbols matching the text at point are put first in the completion list."
(some (lambda (f) (file-newer-than-file-p f autoload-file))
(directory-files autoload-dir t "\\.el$")))
(message "Updating autoloads...")
- (update-directory-autoloads autoload-dir)))
+ (let (emacs-lisp-mode-hook)
+ (update-directory-autoloads autoload-dir))))
(load autoload-file))
;; TODO: fix this
View
@@ -11,9 +11,9 @@
(defun turn-on-paredit ()
(paredit-mode +1))
-(eval-after-load 'paredit
- ;; Not sure why paredit behaves this way with comments; it's annoying
- '(define-key paredit-mode-map (kbd ";") 'self-insert-command))
+;; (eval-after-load 'paredit
+;; ;; Not sure why paredit behaves this way with comments; it's annoying
+;; '(define-key paredit-mode-map (kbd ";") 'self-insert-command))
(defface esk-paren-face
'((((class color) (background dark))

0 comments on commit 0eb65fe

Please sign in to comment.