Commits

Fuco  committed f5b9c50

Fix bs-mode-font-lock-keywords (defvar -> setq)

  • Participants
  • Parent commits 9867366

Comments (0)

Files changed (1)

File files/global.el

 ;; move this somewhere appropriate
 (eval-after-load "bs"
   '(progn
-     (defvar bs-mode-font-lock-keywords
-       (list ;; header in font-lock-type-face
-        (list (bs--make-header-match-string)
-              '(1 font-lock-type-face append) '(1 'bold append))
-        ;; Buffername embedded by *
-        (list "^.*\\(\\*.*\\*\\).*$" 1 'font-lock-comment-face)
-        ;; Dired-Buffers
-        '("^....\\(.*\\) [0-9].*Dired[ /].*$" 1 font-lock-function-name-face)
-        ;; the star for modified buffers
-        '("^.\\(\\*\\) +[^\\*]"     1 font-lock-warning-face))
-       "Default font lock expressions for Buffer Selection Menu.")))
+     (setq bs-mode-font-lock-keywords
+           (list ;; header in font-lock-type-face
+            (list (bs--make-header-match-string)
+                  '(1 font-lock-type-face append) '(1 'bold append))
+            ;; Buffername embedded by *
+            (list "^.*\\(\\*.*\\*\\).*$" 1 'font-lock-comment-face)
+            ;; Dired-Buffers
+            '("^....\\(.*\\) [0-9].*Dired[ /].*$" 1 font-lock-function-name-face)
+            ;; the star for modified buffers
+            '("^.\\(\\*\\) +[^\\*]"     1 font-lock-warning-face)))))