aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2025-01-27 08:50:35 +0100
committerStefan Kangas2025-01-27 09:19:39 +0100
commitd2ffa0fa488fcfec26c042d30d125915eb558444 (patch)
tree2906d9ca4b0af85f665660dcc0af8cd95e94fdc2
parent1ed769a3cb753a86badba8a2878fa788a6fdc1f8 (diff)
downloademacs-d2ffa0fa488fcfec26c042d30d125915eb558444.tar.gz
emacs-d2ffa0fa488fcfec26c042d30d125915eb558444.zip
; Fix byte-compilation warnings
-rw-r--r--lisp/cedet/semantic/idle.el8
-rw-r--r--lisp/whitespace.el2
2 files changed, 5 insertions, 5 deletions
diff --git a/lisp/cedet/semantic/idle.el b/lisp/cedet/semantic/idle.el
index 515a6b439bb..caf581c56eb 100644
--- a/lisp/cedet/semantic/idle.el
+++ b/lisp/cedet/semantic/idle.el
@@ -820,12 +820,12 @@ visible, then highlight it."
820 (point) (get-buffer-window (current-buffer) 'visible)) 820 (point) (get-buffer-window (current-buffer) 'visible))
821 (if (< (overlay-end region) (line-end-position)) 821 (if (< (overlay-end region) (line-end-position))
822 (pulse-momentary-highlight-overlay 822 (pulse-momentary-highlight-overlay
823 region semantic-idle-symbol-highlight) 823 region 'semantic-idle-symbol-highlight)
824 ;; Not the same 824 ;; Not the same
825 (pulse-momentary-highlight-region 825 (pulse-momentary-highlight-region
826 (overlay-start region) 826 (overlay-start region)
827 (line-end-position) 827 (line-end-position)
828 semantic-idle-symbol-highlight)))))) 828 'semantic-idle-symbol-highlight))))))
829 ((vectorp region) 829 ((vectorp region)
830 (let ((start (aref region 0)) 830 (let ((start (aref region 0))
831 (end (aref region 1))) 831 (end (aref region 1)))
@@ -844,7 +844,7 @@ visible, then highlight it."
844 (pulse-momentary-highlight-region 844 (pulse-momentary-highlight-region
845 start (if (<= end (line-end-position)) end 845 start (if (<= end (line-end-position)) end
846 (line-end-position)) 846 (line-end-position))
847 semantic-idle-symbol-highlight))))))) 847 'semantic-idle-symbol-highlight)))))))
848 nil)) 848 nil))
849 849
850(define-semantic-idle-service semantic-idle-local-symbol-highlight 850(define-semantic-idle-service semantic-idle-local-symbol-highlight
@@ -874,7 +874,7 @@ Call `semantic-symref-hits-in-region' to identify local references."
874 target (lambda (start end _prefix) 874 target (lambda (start end _prefix)
875 (when (/= start (car Hbounds)) 875 (when (/= start (car Hbounds))
876 (pulse-momentary-highlight-region 876 (pulse-momentary-highlight-region
877 start end semantic-idle-symbol-highlight)) 877 start end 'semantic-idle-symbol-highlight))
878 (semantic-throw-on-input 'symref-highlight)) 878 (semantic-throw-on-input 'symref-highlight))
879 (semantic-tag-start tag) 879 (semantic-tag-start tag)
880 (semantic-tag-end tag))))))) 880 (semantic-tag-end tag)))))))
diff --git a/lisp/whitespace.el b/lisp/whitespace.el
index 2f66950c7d3..efee11faf98 100644
--- a/lisp/whitespace.el
+++ b/lisp/whitespace.el
@@ -2544,7 +2544,7 @@ purposes)."
2544 (or (eq (aref vec i) ?\n) 2544 (or (eq (aref vec i) ?\n)
2545 (aset vec i 2545 (aset vec i
2546 (make-glyph-code (aref vec i) 2546 (make-glyph-code (aref vec i)
2547 whitespace-newline))))) 2547 'whitespace-newline)))))
2548 ;; Display mapping 2548 ;; Display mapping
2549 (aset buffer-display-table (cadr entry) vec))))))) 2549 (aset buffer-display-table (cadr entry) vec)))))))
2550 2550