Skip to content

Commit

Permalink
Fix autoloads and remove faces variables.
Browse files Browse the repository at this point in the history
Remove `generated-autoload-file' local var in all files.

* helm-bookmark.el (helm-bookmark-directory): new face.
Remove obsolete faces vars.
* helm-misc.el: require also *-files and *-buffers.
* helm.el: Reorder, clean and remove obsolete faces.
  • Loading branch information
thierryvolpiatto committed Apr 2, 2012
1 parent 8d65d42 commit 207fb36
Show file tree
Hide file tree
Showing 40 changed files with 133 additions and 207 deletions.
1 change: 0 additions & 1 deletion helm-adaptative.el
Expand Up @@ -241,7 +241,6 @@ candidate can be in (DISPLAY . REAL) format."
;; coding: utf-8
;; indent-tabs-mode: nil
;; byte-compile-dynamic: t
;; generated-autoload-file: "helm-config.el"
;; End:

;;; helm-adaptative.el ends here
1 change: 0 additions & 1 deletion helm-apt.el
Expand Up @@ -192,7 +192,6 @@ With a prefix arg reload cache."
;; coding: utf-8
;; indent-tabs-mode: nil
;; byte-compile-dynamic: t
;; generated-autoload-file: "helm-config.el"
;; End:

;;; helm-apt.el ends here
1 change: 0 additions & 1 deletion helm-bbdb.el
Expand Up @@ -119,7 +119,6 @@ http://bbdb.sourceforge.net/"
;; coding: utf-8
;; indent-tabs-mode: nil
;; byte-compile-dynamic: t
;; generated-autoload-file: "helm-config.el"
;; End:

;;; helm-bbdb ends here
1 change: 0 additions & 1 deletion helm-bmkext.el
Expand Up @@ -302,7 +302,6 @@ Contain also `helm-c-source-google-suggest'."
;; coding: utf-8
;; indent-tabs-mode: nil
;; byte-compile-dynamic: t
;; generated-autoload-file: "helm-config.el"
;; End:

;;; helm-bmkext.el ends here
14 changes: 7 additions & 7 deletions helm-bookmark.el
Expand Up @@ -58,11 +58,12 @@
"*Face used for file bookmarks."
:group 'helm-bookmark)


(defvar helm-c-bookmarks-face1 'helm-ff-directory)
(defvar helm-c-bookmarks-face2 'helm-ff-file)
(defvar helm-c-bookmarks-face3 'helm-bookmarks-su-face)
(defface helm-bookmark-directory
'((t (:inherit helm-ff-directory)))
"*Face used for file bookmarks."
:group 'helm-bookmark)


(defvar helm-c-bookmark-map
(let ((map (make-sparse-keymap)))
(set-keymap-parent map helm-map)
Expand Down Expand Up @@ -148,7 +149,7 @@

(defun helm-c-highlight-not-logged (files source)
(loop for i in files
collect (propertize i 'face helm-c-bookmarks-face3)))
collect (propertize i 'face 'helm-bookmarks-su-face)))

(defun helm-c-highlight-bookmark (bookmarks source)
"Used as `candidate-transformer' to colorize bookmarks.
Expand Down Expand Up @@ -191,7 +192,7 @@ Work both with standard Emacs bookmarks and bookmark-extensions.el."
(propertize i 'face '((:foreground "Tomato"))))
(;; directories
(and isfile (file-directory-p isfile))
(propertize i 'face helm-c-bookmarks-face1 'help-echo isfile))
(propertize i 'face 'helm-bookmark-directory 'help-echo isfile))
(;; regular files
t
(propertize i 'face 'helm-bookmark-file 'help-echo isfile)))))
Expand Down Expand Up @@ -269,7 +270,6 @@ Return nil if bmk is not a valid bookmark."
;; coding: utf-8
;; indent-tabs-mode: nil
;; byte-compile-dynamic: t
;; generated-autoload-file: "helm-config.el"
;; End:

;;; helm-bookmark.el ends here
1 change: 0 additions & 1 deletion helm-buffers.el
Expand Up @@ -486,7 +486,6 @@ It is an enhanced version of `helm-for-buffers'."
;; coding: utf-8
;; indent-tabs-mode: nil
;; byte-compile-dynamic: t
;; generated-autoload-file: "helm-config.el"
;; End:

;;; helm-buffers.el ends here
1 change: 0 additions & 1 deletion helm-call-tree.el
Expand Up @@ -123,7 +123,6 @@ http://www.emacswiki.org/cgi-bin/wiki/download/simple-call-tree.el"
;; coding: utf-8
;; indent-tabs-mode: nil
;; byte-compile-dynamic: t
;; generated-autoload-file: "helm-config.el"
;; End:

;;; helm-call-tree.el ends here
1 change: 0 additions & 1 deletion helm-color.el
Expand Up @@ -95,7 +95,6 @@
;; coding: utf-8
;; indent-tabs-mode: nil
;; byte-compile-dynamic: t
;; generated-autoload-file: "helm-config.el"
;; End:

;;; helm-color.el ends here
1 change: 0 additions & 1 deletion helm-command.el
Expand Up @@ -156,7 +156,6 @@ It is `helm' replacement of regular `M-x' `execute-extended-command'."
;; coding: utf-8
;; indent-tabs-mode: nil
;; byte-compile-dynamic: t
;; generated-autoload-file: "helm-config.el"
;; End:

;;; helm-command.el ends here

0 comments on commit 207fb36

Please sign in to comment.