Commits

Anonymous committed bf0d43a

Fix visual mode back-to-indentation

Comments (0)

Files changed (1)

site-lisp/defuns-edit.el

 
 (defun my-back-to-indentation ()
   (if visual-line-mode
-      (cl-flet ((beginning-of-line (arg) (beginning-of-visual-line arg)))
+      (flet ((beginning-of-line (arg) (beginning-of-visual-line arg)))
         (back-to-indentation))
     (back-to-indentation)))
 
 enabled, move according to the visual lines."
   (interactive "p")
   (cond
-   ((and (functionp'org-table-p)
+   ((and (functionp 'org-table-p)
          (org-table-p))
     (let ((eob (save-excursion
                  (re-search-backward "|")