diff options
| author | Stefan Monnier | 2005-09-12 15:05:24 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2005-09-12 15:05:24 +0000 |
| commit | 344f1111500c283c138f3d43deb7572780cf858b (patch) | |
| tree | c6907559b87faa60f2cbc3e0126b79a5a0debdd6 | |
| parent | dfc22242b5b96d0344fdadb23e723e2f637af40f (diff) | |
| download | emacs-344f1111500c283c138f3d43deb7572780cf858b.tar.gz emacs-344f1111500c283c138f3d43deb7572780cf858b.zip | |
(normal-mode): Check boundness of font-lock-keywords.
| -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 dd05402e3ac..7e0e20d96d9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2005-09-12 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * files.el (normal-mode): Check boundness of font-lock-keywords. | ||
| 4 | |||
| 1 | 2005-09-12 Richard M. Stallman <rms@gnu.org> | 5 | 2005-09-12 Richard M. Stallman <rms@gnu.org> |
| 2 | 6 | ||
| 3 | * progmodes/compile.el: Don't decide a file's directory | 7 | * progmodes/compile.el: Don't decide a file's directory |
| @@ -21,7 +25,7 @@ | |||
| 21 | * time-stamp.el: Mention variable `time-stamp-pattern' in doc | 25 | * time-stamp.el: Mention variable `time-stamp-pattern' in doc |
| 22 | strings of the variables it can override. | 26 | strings of the variables it can override. |
| 23 | 27 | ||
| 24 | (time-stamp): new (as yet undocumented) time-stamp-format escapes | 28 | (time-stamp): New (as yet undocumented) time-stamp-format escapes |
| 25 | %Q and %q, for fully-qualified domain name and unqualified host name. | 29 | %Q and %q, for fully-qualified domain name and unqualified host name. |
| 26 | 30 | ||
| 27 | 2005-09-11 Kim F. Storm <storm@cua.dk> | 31 | 2005-09-11 Kim F. Storm <storm@cua.dk> |
| @@ -41,14 +45,14 @@ | |||
| 41 | 45 | ||
| 42 | 2005-09-10 Pascal Dupuis <Pascal.Dupuis@esat.kuleuven.be> (tiny change) | 46 | 2005-09-10 Pascal Dupuis <Pascal.Dupuis@esat.kuleuven.be> (tiny change) |
| 43 | 47 | ||
| 44 | * progmodes/octave-inf.el (inferior-octave-startup): Resync | 48 | * progmodes/octave-inf.el (inferior-octave-startup): |
| 45 | current dir at the end. | 49 | Resync current dir at the end. |
| 46 | 50 | ||
| 47 | 2005-09-10 Emilio C. Lopes <eclig@gmx.net> | 51 | 2005-09-10 Emilio C. Lopes <eclig@gmx.net> |
| 48 | 52 | ||
| 49 | * woman.el (woman-topic-at-point-default): Renamed to | 53 | * woman.el (woman-topic-at-point-default): |
| 50 | woman-use-topic-at-point-default. | 54 | Rename to woman-use-topic-at-point-default. |
| 51 | (woman-topic-at-point): Renamed to woman-use-topic-at-point. | 55 | (woman-topic-at-point): Rename to woman-use-topic-at-point. |
| 52 | (woman-file-name): Reflect renames above. Automatically use the | 56 | (woman-file-name): Reflect renames above. Automatically use the |
| 53 | word at point as topic if woman-use-topic-at-point is non-nil. | 57 | word at point as topic if woman-use-topic-at-point is non-nil. |
| 54 | Otherwise offer it as default but don't insert it in the | 58 | Otherwise offer it as default but don't insert it in the |
| @@ -66,28 +70,26 @@ | |||
| 66 | (menu-bar-non-minibuffer-window-p): New functions. | 70 | (menu-bar-non-minibuffer-window-p): New functions. |
| 67 | ("Split Window", "Save As..."): Use them. | 71 | ("Split Window", "Save As..."): Use them. |
| 68 | ("Postscript Print Buffer (B+W)", "Postscript Print Buffer") | 72 | ("Postscript Print Buffer (B+W)", "Postscript Print Buffer") |
| 69 | ("Print Buffer", "Truncate Long Lines in this Buffer"): Use | 73 | ("Print Buffer", "Truncate Long Lines in this Buffer"): |
| 70 | menu-bar-menu-frame-live-and-visible-p. | 74 | Use menu-bar-menu-frame-live-and-visible-p. |
| 71 | ("Save Buffer", "Insert File", "Open Directory...") | 75 | ("Save Buffer", "Insert File", "Open Directory...") |
| 72 | ("Open File...", "Visit New File..."): Use | 76 | ("Open File...", "Visit New File..."): |
| 73 | menu-bar-non-minibuffer-window-p. | 77 | Use menu-bar-non-minibuffer-window-p. |
| 74 | (kill-this-buffer-enabled-p, dired <menu-enable>): Use | 78 | (kill-this-buffer-enabled-p, dired <menu-enable>): |
| 75 | menu-bar-non-minibuffer-window-p. | 79 | Use menu-bar-non-minibuffer-window-p. |
| 76 | 80 | ||
| 77 | 2005-09-09 Eli Zaretskii <eliz@gnu.org> | 81 | 2005-09-09 Eli Zaretskii <eliz@gnu.org> |
| 78 | 82 | ||
| 79 | * cus-start.el (all): Don't complain about fringe-related | 83 | * cus-start.el (all): Don't complain about fringe-related |
| 80 | built-ins if fringes are not supported. Ditto about | 84 | built-ins if fringes are not supported. Ditto about |
| 81 | selection-related built-ins. Fix the test for GTK-related | 85 | selection-related built-ins. Fix the test for GTK-related built-ins. |
| 82 | built-ins. | ||
| 83 | 86 | ||
| 84 | * menu-bar.el ("Split Window", "Postscript Print Buffer (B+W)") | 87 | * menu-bar.el ("Split Window", "Postscript Print Buffer (B+W)") |
| 85 | ("Postscript Print Buffer", "Print Region", "Save As...") | 88 | ("Postscript Print Buffer", "Print Region", "Save As...") |
| 86 | ("Save", "Insert File...", "Open Directory...") | 89 | ("Save", "Insert File...", "Open Directory...") |
| 87 | ("Open File...", "Visit New File..."") | 90 | ("Open File...", "Visit New File..."") |
| 88 | ("Truncate Long Lines in this Buffer"): Don't look at | 91 | ("Truncate Long Lines in this Buffer"): Don't look at |
| 89 | menu-updating-frame if this display does not support multiple | 92 | menu-updating-frame if this display does not support multiple frames. |
| 90 | frames. | ||
| 91 | 93 | ||
| 92 | 2005-09-09 Frederik Fouvry <fouvry@CoLi.Uni-SB.DE> | 94 | 2005-09-09 Frederik Fouvry <fouvry@CoLi.Uni-SB.DE> |
| 93 | 95 | ||
| @@ -120,15 +122,6 @@ | |||
| 120 | 122 | ||
| 121 | * descr-text.el (describe-property-list): Handle non-symbol prop names. | 123 | * descr-text.el (describe-property-list): Handle non-symbol prop names. |
| 122 | 124 | ||
| 123 | 2005-09-06 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 124 | |||
| 125 | * net/ange-ftp.el (ange-ftp-process-filter): Revert to ^#+$. | ||
| 126 | Use with-current-buffer. | ||
| 127 | (ange-ftp-gwp-start): Remove unused var `gw-user'. | ||
| 128 | (ange-ftp-guess-hash-mark-size): Remove unused var `result'. | ||
| 129 | (ange-ftp-insert-directory): Remove unused var `short'. | ||
| 130 | (ange-ftp-file-name-sans-versions): Remove unused var `host-type'. | ||
| 131 | |||
| 132 | 2005-08-30 Richard M. Stallman <rms@gnu.org> | 125 | 2005-08-30 Richard M. Stallman <rms@gnu.org> |
| 133 | 126 | ||
| 134 | * simple.el (blink-matching-open): Get rid of text props from | 127 | * simple.el (blink-matching-open): Get rid of text props from |
| @@ -164,6 +157,13 @@ | |||
| 164 | (recentf-open-files): Use it. | 157 | (recentf-open-files): Use it. |
| 165 | (recentf-open-file-with-key): New command. | 158 | (recentf-open-file-with-key): New command. |
| 166 | 159 | ||
| 160 | 2005-09-08 Chong Yidong <cyd@stupidchicken.com> | ||
| 161 | |||
| 162 | * buff-menu.el (Buffer-menu-sort-by-column): New function. | ||
| 163 | Suggested by Kim F. Storm. | ||
| 164 | (Buffer-menu-sort-button-map): Global keymap for sort buttons. | ||
| 165 | (Buffer-menu-make-sort-button): Use global keymap. | ||
| 166 | |||
| 167 | 2005-09-07 Michael Albinus <michael.albinus@gmx.de> | 167 | 2005-09-07 Michael Albinus <michael.albinus@gmx.de> |
| 168 | 168 | ||
| 169 | * woman.el (top): Remap `man' command by `woman' in `woman-mode-map'. | 169 | * woman.el (top): Remap `man' command by `woman' in `woman-mode-map'. |
| @@ -189,15 +189,15 @@ | |||
| 189 | * calc/calc-poly.el (math-expand-term): Multiply out any powers | 189 | * calc/calc-poly.el (math-expand-term): Multiply out any powers |
| 190 | when in matrix mode. | 190 | when in matrix mode. |
| 191 | 191 | ||
| 192 | 2005-09-08 Chong Yidong <cyd@stupidchicken.com> | ||
| 193 | |||
| 194 | * buff-menu.el (Buffer-menu-sort-by-column): New function. | ||
| 195 | Suggested by Kim F. Storm. | ||
| 196 | (Buffer-menu-sort-button-map): Global keymap for sort buttons. | ||
| 197 | (Buffer-menu-make-sort-button): Use global keymap. | ||
| 198 | |||
| 199 | 2005-09-06 Stefan Monnier <monnier@iro.umontreal.ca> | 192 | 2005-09-06 Stefan Monnier <monnier@iro.umontreal.ca> |
| 200 | 193 | ||
| 194 | * net/ange-ftp.el (ange-ftp-process-filter): Revert to ^#+$. | ||
| 195 | Use with-current-buffer. | ||
| 196 | (ange-ftp-gwp-start): Remove unused var `gw-user'. | ||
| 197 | (ange-ftp-guess-hash-mark-size): Remove unused var `result'. | ||
| 198 | (ange-ftp-insert-directory): Remove unused var `short'. | ||
| 199 | (ange-ftp-file-name-sans-versions): Remove unused var `host-type'. | ||
| 200 | |||
| 201 | * buff-menu.el (Buffer-menu-make-sort-button): Add docstrings, use | 201 | * buff-menu.el (Buffer-menu-make-sort-button): Add docstrings, use |
| 202 | non-anonymous functions. | 202 | non-anonymous functions. |
| 203 | 203 | ||
diff --git a/lisp/files.el b/lisp/files.el index 1ffd17eefd4..6356fcb8c2c 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." | |||
| 1738 | (hack-local-variables))) | 1738 | (hack-local-variables))) |
| 1739 | ;; Turn font lock off and on, to make sure it takes account of | 1739 | ;; Turn font lock off and on, to make sure it takes account of |
| 1740 | ;; whatever file local variables are relevant to it. | 1740 | ;; whatever file local variables are relevant to it. |
| 1741 | (when (and font-lock-mode (eq (car font-lock-keywords) t)) | 1741 | (when (and font-lock-mode |
| 1742 | ;; Font-lock-mode (now in font-core.el) can be ON when | ||
| 1743 | ;; font-lock.el still hasn't been loaded. | ||
| 1744 | (boundp 'font-lock-keywords) | ||
| 1745 | (eq (car font-lock-keywords) t)) | ||
| 1742 | (setq font-lock-keywords (cadr font-lock-keywords)) | 1746 | (setq font-lock-keywords (cadr font-lock-keywords)) |
| 1743 | (font-lock-mode 1)) | 1747 | (font-lock-mode 1)) |
| 1744 | 1748 | ||