New answers tagged


describe-variable retrieves the documentation of a variable, it doesn't do anything with the value of the variable. You just want to test to see if the value of the variable is eq to something. (defun cc/toggle-line-numbering () "Toggle line numbering between absolute and relative." (interactive) (if (eq display-line-numbers 'relative) (...

Top 50 recent answers are included