diff options
author | Stefan Monnier <[email protected]> | 2005-09-12 15:05:24 +0000 |
---|---|---|
committer | Stefan Monnier <[email protected]> | 2005-09-12 15:05:24 +0000 |
commit | 344f1111500c283c138f3d43deb7572780cf858b (patch) | |
tree | c6907559b87faa60f2cbc3e0126b79a5a0debdd6 /lisp | |
parent | dfc22242b5b96d0344fdadb23e723e2f637af40f (diff) |
(normal-mode): Check boundness of font-lock-keywords.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 64 | ||||
-rw-r--r-- | lisp/files.el | 6 |
2 files changed, 37 insertions, 33 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index dd05402e3a..7e0e20d96d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2005-09-12 Stefan Monnier <[email protected]> + + * files.el (normal-mode): Check boundness of font-lock-keywords. + 2005-09-12 Richard M. Stallman <[email protected]> * progmodes/compile.el: Don't decide a file's directory @@ -21,7 +25,7 @@ * time-stamp.el: Mention variable `time-stamp-pattern' in doc strings of the variables it can override. - (time-stamp): new (as yet undocumented) time-stamp-format escapes + (time-stamp): New (as yet undocumented) time-stamp-format escapes %Q and %q, for fully-qualified domain name and unqualified host name. 2005-09-11 Kim F. Storm <[email protected]> @@ -41,14 +45,14 @@ 2005-09-10 Pascal Dupuis <[email protected]> (tiny change) - * progmodes/octave-inf.el (inferior-octave-startup): Resync - current dir at the end. + * progmodes/octave-inf.el (inferior-octave-startup): + Resync current dir at the end. 2005-09-10 Emilio C. Lopes <[email protected]> - * woman.el (woman-topic-at-point-default): Renamed to - woman-use-topic-at-point-default. - (woman-topic-at-point): Renamed to woman-use-topic-at-point. + * woman.el (woman-topic-at-point-default): + Rename to woman-use-topic-at-point-default. + (woman-topic-at-point): Rename to woman-use-topic-at-point. (woman-file-name): Reflect renames above. Automatically use the word at point as topic if woman-use-topic-at-point is non-nil. Otherwise offer it as default but don't insert it in the @@ -66,28 +70,26 @@ (menu-bar-non-minibuffer-window-p): New functions. ("Split Window", "Save As..."): Use them. ("Postscript Print Buffer (B+W)", "Postscript Print Buffer") - ("Print Buffer", "Truncate Long Lines in this Buffer"): Use - menu-bar-menu-frame-live-and-visible-p. + ("Print Buffer", "Truncate Long Lines in this Buffer"): + Use menu-bar-menu-frame-live-and-visible-p. ("Save Buffer", "Insert File", "Open Directory...") - ("Open File...", "Visit New File..."): Use - menu-bar-non-minibuffer-window-p. - (kill-this-buffer-enabled-p, dired <menu-enable>): Use - menu-bar-non-minibuffer-window-p. + ("Open File...", "Visit New File..."): + Use menu-bar-non-minibuffer-window-p. + (kill-this-buffer-enabled-p, dired <menu-enable>): + Use menu-bar-non-minibuffer-window-p. 2005-09-09 Eli Zaretskii <[email protected]> * cus-start.el (all): Don't complain about fringe-related built-ins if fringes are not supported. Ditto about - selection-related built-ins. Fix the test for GTK-related - built-ins. + selection-related built-ins. Fix the test for GTK-related built-ins. * menu-bar.el ("Split Window", "Postscript Print Buffer (B+W)") ("Postscript Print Buffer", "Print Region", "Save As...") ("Save", "Insert File...", "Open Directory...") ("Open File...", "Visit New File..."") ("Truncate Long Lines in this Buffer"): Don't look at - menu-updating-frame if this display does not support multiple - frames. + menu-updating-frame if this display does not support multiple frames. 2005-09-09 Frederik Fouvry <[email protected]> @@ -120,15 +122,6 @@ * descr-text.el (describe-property-list): Handle non-symbol prop names. -2005-09-06 Stefan Monnier <[email protected]> - - * net/ange-ftp.el (ange-ftp-process-filter): Revert to ^#+$. - Use with-current-buffer. - (ange-ftp-gwp-start): Remove unused var `gw-user'. - (ange-ftp-guess-hash-mark-size): Remove unused var `result'. - (ange-ftp-insert-directory): Remove unused var `short'. - (ange-ftp-file-name-sans-versions): Remove unused var `host-type'. - 2005-08-30 Richard M. Stallman <[email protected]> * simple.el (blink-matching-open): Get rid of text props from @@ -164,6 +157,13 @@ (recentf-open-files): Use it. (recentf-open-file-with-key): New command. +2005-09-08 Chong Yidong <[email protected]> + + * buff-menu.el (Buffer-menu-sort-by-column): New function. + Suggested by Kim F. Storm. + (Buffer-menu-sort-button-map): Global keymap for sort buttons. + (Buffer-menu-make-sort-button): Use global keymap. + 2005-09-07 Michael Albinus <[email protected]> * woman.el (top): Remap `man' command by `woman' in `woman-mode-map'. @@ -189,15 +189,15 @@ * calc/calc-poly.el (math-expand-term): Multiply out any powers when in matrix mode. -2005-09-08 Chong Yidong <[email protected]> - - * buff-menu.el (Buffer-menu-sort-by-column): New function. - Suggested by Kim F. Storm. - (Buffer-menu-sort-button-map): Global keymap for sort buttons. - (Buffer-menu-make-sort-button): Use global keymap. - 2005-09-06 Stefan Monnier <[email protected]> + * net/ange-ftp.el (ange-ftp-process-filter): Revert to ^#+$. + Use with-current-buffer. + (ange-ftp-gwp-start): Remove unused var `gw-user'. + (ange-ftp-guess-hash-mark-size): Remove unused var `result'. + (ange-ftp-insert-directory): Remove unused var `short'. + (ange-ftp-file-name-sans-versions): Remove unused var `host-type'. + * buff-menu.el (Buffer-menu-make-sort-button): Add docstrings, use non-anonymous functions. diff --git a/lisp/files.el b/lisp/files.el index 1ffd17eefd..6356fcb8c2 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -1738,7 +1738,11 @@ in that case, this function acts as if `enable-local-variables' were t." (hack-local-variables))) ;; Turn font lock off and on, to make sure it takes account of ;; whatever file local variables are relevant to it. - (when (and font-lock-mode (eq (car font-lock-keywords) t)) + (when (and font-lock-mode + ;; Font-lock-mode (now in font-core.el) can be ON when + ;; font-lock.el still hasn't been loaded. + (boundp 'font-lock-keywords) + (eq (car font-lock-keywords) t)) (setq font-lock-keywords (cadr font-lock-keywords)) (font-lock-mode 1)) |