[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/realgud 2bf62ee 086/140: Better Emacs compatibility
From: |
Rocky Bernstein |
Subject: |
[elpa] externals/realgud 2bf62ee 086/140: Better Emacs compatibility |
Date: |
Sat, 25 May 2019 19:35:39 -0400 (EDT) |
branch: externals/realgud
commit 2bf62ee99f8f25a0870860bedb147f9f9705725f
Author: rocky <address@hidden>
Commit: rocky <address@hidden>
Better Emacs compatibility
---
test/bt-helper.el | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/test/bt-helper.el b/test/bt-helper.el
index 4f30b39..5ae0a2a 100644
--- a/test/bt-helper.el
+++ b/test/bt-helper.el
@@ -12,7 +12,10 @@
(defvar temp-cmdbuf)
(defvar temp-bt)
(defvar realgud-pat-hash)
-)
+ )
+
+(if (or (<= emacs-major-version 24))
+ (defalias 'font-lock-ensure 'font-lock-fontify-buffer))
(defun setup-bt-vars(debugger-name)
"Sets up globals temp-cmdbuf and temp-bt with command buffer
@@ -38,7 +41,8 @@ for DEBUGGER-NAME and initializes it to STRING"
(goto-char (point-min))
(setq buffer-read-only nil)
(insert string)
- (font-lock-fontify-buffer) ;; 24 doesn't have (font-lock-ensure)
+ (message "%s" emacs-version)
+ (font-lock-ensure)
;; Newer emacs's use:
(goto-char (point-min))
)
- [elpa] externals/realgud 2eb9519 063/140: small changes, (continued)
- [elpa] externals/realgud 2eb9519 063/140: small changes, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 3ccd602 057/140: Merge pull request #201 from jodonnell/spelling, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 5d52fbf 056/140: fix spelling error, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 8480545 041/140: Merge branch 'master' of github.com:realgud/realgud, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud a5853d5 064/140: Merge branch 'master' of github.com:realgud/realgud, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud c593d0c 060/140: Merge branch 'master' of github.com:realgud/realgud, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 2c8caa5 068/140: Merge pull request #208 from dangirsh/patch-1, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 5e07d91 062/140: Use boxed attributes in breakpoint enable/disable faces, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 937bea0 059/140: Add realgud-populate-common-fn-keys-none to not set function keys..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 8258521 071/140: Small typo, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 2bf62ee 086/140: Better Emacs compatibility,
Rocky Bernstein <=
- [elpa] externals/realgud 0c3592b 078/140: Merge branch 'master' into filter-lists, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 4c66076 072/140: Start nodejs -> node debug rename..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud b4ff2c3 092/140: Check major mode with derived-mode-p, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud b78f3b9 091/140: Merge pull request #214 from xuchunyang/master, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud d25fd0e 090/140: Remove pdb alias, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud 0a3befb 079/140: File remap is session specific..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud da2a74b 101/140: Merge branch 'master' of github.com:realgud/realgud, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud ad64b70 081/140: Correct testing for API change..., Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud dc349f8 075/140: Make calls consistent in light of changes, Rocky Bernstein, 2019/05/25
- [elpa] externals/realgud f966711 093/140: Merge pull request #217 from muffinmad/patch-1, Rocky Bernstein, 2019/05/25