diff options
| author | Kenichi Handa | 2012-11-23 23:36:24 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2012-11-23 23:36:24 +0900 |
| commit | 2aaec2d9be5cec44ea3b59cba476fd3e091f2fc9 (patch) | |
| tree | 3711b97807201b7eeaa066003b1c3a4ce929e5bb /lisp/cedet | |
| parent | e1d276cbf9e18f13101328f56bed1a1c0a66e63a (diff) | |
| parent | e7d0e5ee247a155a268ffbf80bedbe25e15b5032 (diff) | |
| download | emacs-2aaec2d9be5cec44ea3b59cba476fd3e091f2fc9.tar.gz emacs-2aaec2d9be5cec44ea3b59cba476fd3e091f2fc9.zip | |
Diffstat (limited to 'lisp/cedet')
| -rw-r--r-- | lisp/cedet/ChangeLog | 13 | ||||
| -rw-r--r-- | lisp/cedet/semantic/fw.el | 14 |
2 files changed, 15 insertions, 12 deletions
diff --git a/lisp/cedet/ChangeLog b/lisp/cedet/ChangeLog index a01ce4c30a3..cdfb357b646 100644 --- a/lisp/cedet/ChangeLog +++ b/lisp/cedet/ChangeLog | |||
| @@ -1,12 +1,17 @@ | |||
| 1 | 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * semantic/fw.el (semantic-make-local-hook, semantic-mode-line-update): | ||
| 4 | Simplify via CSE. | ||
| 5 | |||
| 1 | 2012-11-16 David Engster <deng@randomsample.de> | 6 | 2012-11-16 David Engster <deng@randomsample.de> |
| 2 | 7 | ||
| 3 | * semantic/symref/list.el (semantic-symref-symbol): Use | 8 | * semantic/symref/list.el (semantic-symref-symbol): |
| 4 | `semantic-complete-read-tag-project' instead of | 9 | Use `semantic-complete-read-tag-project' instead of |
| 5 | `semantic-complete-read-tag-buffer-deep', since the latter is not | 10 | `semantic-complete-read-tag-buffer-deep', since the latter is not |
| 6 | working correctly. | 11 | working correctly. |
| 7 | 12 | ||
| 8 | * semantic/symref.el (semantic-symref-result-get-tags): Use | 13 | * semantic/symref.el (semantic-symref-result-get-tags): |
| 9 | `find-buffer-visiting' to follow symbolic links. | 14 | Use `find-buffer-visiting' to follow symbolic links. |
| 10 | 15 | ||
| 11 | * semantic/fw.el (semantic-find-file-noselect): Always set | 16 | * semantic/fw.el (semantic-find-file-noselect): Always set |
| 12 | `enable-local-variables' to `:safe' when loading files. | 17 | `enable-local-variables' to `:safe' when loading files. |
diff --git a/lisp/cedet/semantic/fw.el b/lisp/cedet/semantic/fw.el index 14ffc808c44..6dd85309967 100644 --- a/lisp/cedet/semantic/fw.el +++ b/lisp/cedet/semantic/fw.el | |||
| @@ -122,15 +122,13 @@ | |||
| 122 | ) | 122 | ) |
| 123 | 123 | ||
| 124 | 124 | ||
| 125 | (if (and (not (featurep 'xemacs)) | 125 | (defalias 'semantic-make-local-hook |
| 126 | (>= emacs-major-version 21)) | 126 | (if (and (not (featurep 'xemacs)) |
| 127 | (defalias 'semantic-make-local-hook 'identity) | 127 | (>= emacs-major-version 21)) |
| 128 | (defalias 'semantic-make-local-hook 'make-local-hook) | 128 | #'identity #'make-local-hook)) |
| 129 | ) | ||
| 130 | 129 | ||
| 131 | (if (featurep 'xemacs) | 130 | (defalias 'semantic-mode-line-update |
| 132 | (defalias 'semantic-mode-line-update 'redraw-modeline) | 131 | (if (featurep 'xemacs) #'redraw-modeline #'force-mode-line-update)) |
| 133 | (defalias 'semantic-mode-line-update 'force-mode-line-update)) | ||
| 134 | 132 | ||
| 135 | ;; Since Emacs 22 major mode functions should use `run-mode-hooks' to | 133 | ;; Since Emacs 22 major mode functions should use `run-mode-hooks' to |
| 136 | ;; run major mode hooks. | 134 | ;; run major mode hooks. |