From 43ff89c0ee6e0b2be7bfd15dc84680e7647fefbe Mon Sep 17 00:00:00 2001 From: Bazsalanszky Date: Wed, 10 Jun 2020 09:22:45 +0200 Subject: [PATCH] Fixed issue with cmake-build-last-target Fixed issue with cmake-build-last-target,when cmake-last-target was not present --- conf.org | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf.org b/conf.org index 1c1df1b..64a3adb 100644 --- a/conf.org +++ b/conf.org @@ -199,6 +199,8 @@ There are two things you can do about this warning: ** Cmake build and run #+BEGIN_SRC emacs-lisp +(defvar cmake-last-target nil) + (defun cmake-build-and-run () "Asks for cmake target, then compiles and runs it." (interactive) @@ -217,6 +219,7 @@ There are two things you can do about this warning: (define-key c-mode-base-map (kbd "C-c C-r") (function cmake-build-and-run)) (define-key c-mode-base-map [f5] 'cmake-build-last-target) #+END_SRC + ** Kód indentálás #+BEGIN_SRC emacs-lisp (defun indent-buffer ()