Hi, the following patch fixes a couple of byte compilation warnings in the Emacs library utils/clang-completion-mode.el.
Thanks, Philipp -- Google Germany GmbH Erika-Mann-Straße 33 80636 München Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind, leiten Sie diese bitte nicht weiter, informieren Sie den Absender und löschen Sie die E-Mail und alle Anhänge. Vielen Dank. This e-mail is confidential. If you are not the right addressee please do not forward it, please inform the sender, and please erase this e-mail including any attachments. Thanks.
Index: utils/clang-completion-mode.el =================================================================== --- utils/clang-completion-mode.el (revision 280970) +++ utils/clang-completion-mode.el (working copy) @@ -64,15 +64,15 @@ :group 'clang-completion-mode) ;;; The prefix header to use with Clang code completion. -(setq clang-completion-prefix-header "") +(defvar clang-completion-prefix-header "") ;;; The substring we will use to filter completion results -(setq clang-completion-substring "") +(defvar clang-completion-substring "") ;;; The current completion buffer -(setq clang-completion-buffer nil) +(defvar clang-completion-buffer nil) -(setq clang-result-string "") +(defvar clang-result-string "") ;;; Compute the current line in the buffer (defun current-line () @@ -199,7 +199,7 @@ ;; for the currently-active code completion. (defun clang-backspace () (interactive) - (delete-backward-char 1) + (delete-char -1) (clang-update-filter)) ;; Invoked when the user types the delete key to update the filter @@ -206,7 +206,7 @@ ;; for the currently-active code completion. (defun clang-delete () (interactive) - (delete-backward-char 1) + (delete-char -1) (clang-update-filter)) ;; Set up the keymap for the Clang minor mode. @@ -246,4 +246,3 @@ nil " Clang" clang-completion-mode-map) -
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits